DateTime fromInvariant
Revision as of 03:09, 16 November 2015 by Lekhacbaongoc (talk | contribs)
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}