GetUTCDateTime

From Catglobe Wiki
Revision as of 12:44, 21 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



getUTCDateTime

Return user UTC time based on inputted time zone.

Syntax

getUTCDateTime(date)

Arguments

date: is a date with type of array

Return type

array

Examples

array a = {2008,12,12,12,12,12,11,50,11};

//These are 9 item in array: (Year, Month, Day, Hour, Minute, Second, Millisecond, Week, TimeZone)

print(getUTCDateTime(a));

// Expected result: {2008,12,13,0,12,12,11,50,0}

Availability

Version 5.6