Difference between revisions of "DateTime fromInvariant"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
[[Category:General_Functions]]
 
{{HelpFiles}}
 
{{HelpFiles}}
  

Latest revision as of 03:32, 16 November 2015


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}