Esempio n. 1
0
static Upp::String GetCefTimeString(const CefTime& v) {
	if (v.GetTimeT() == 0) return "Unspecified";

	Upp::Time t;
	t.year	= v.year;
	t.month	= v.month;
	t.day	= v.day_of_month;
	t.hour	= v.hour;
	t.minute= v.minute;
	t.second= v.second;

	return Upp::FormatTime(t, "YYYY-MM-DD hh:mm:ss");
}