Difference between revisions of "DateTime fromInvariant"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{HelpFiles}} === DateTime_fromInvariant === Convert date string in ISO format to datetime array === Syntax === DateTime_fromInvariant(date) === Arguments === date: da...")
 
Line 1: Line 1:
 
{{HelpFiles}}
 
{{HelpFiles}}
  
 
+
=== DateTime_fromInvariant<br/> ===
 
 
=== DateTime_fromInvariant ===
 
  
 
Convert date string in ISO format to datetime array
 
Convert date string in ISO format to datetime array

Revision as of 03:09, 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}