DateTime fromInvariant

From Catglobe Wiki
Revision as of 03:09, 16 November 2015 by Lekhacbaongoc (talk | contribs) (Created page with "{{HelpFiles}} === DateTime_fromInvariant === Convert date string in ISO format to datetime array === Syntax === DateTime_fromInvariant(date) === Arguments === date: da...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



DateTime_fromInvariant

Convert date string in ISO format to datetime array

Syntax

DateTime_fromInvariant(date)

Arguments

date: date string in ISO format (yyyy-MM-dd hh:mm:ss)

Return type

array datetime

Examples

 string date = "2015-11-16 01:59:43";
 array dt = DateTime_fromInvariant(date);
 print(dt);
 //{2015,11,16,2,59,43,0,47,40}