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.

DateTime fromInvariant

From Catglobe Wiki


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}