Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetUTCDateTime: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Cg van (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
{{HelpFiles}}



====getUTCDateTime====
==== getUTCDateTime ====


Return user UTC time based on inputted time zone.
Return user UTC time based on inputted time zone.  


'''Syntax'''
'''Syntax'''  


getUTCDateTime(date)
getUTCDateTime(date)  


'''Arguments'''
'''Arguments'''  


date: is a date with type of array
date: is a date with type of array  


'''Return type'''
'''Return type'''  


array
array  


'''Examples'''
'''Examples'''  


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


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


// Expected result: {2008,12,13,0,12,12,11,50,0}
''print(getUTCDateTime(a));''


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


Version 5.6
'''Availability'''
__NOTOC__
 
<!-- imported from file: 5580.htm-->
Version 5.6 __NOTOC__ <!-- imported from file: 5580.htm-->  
 
[[Category:General_Functions]]

Latest revision as of 10:44, 21 December 2011



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