Difference between revisions of "DateTime toInvariant"

From Catglobe Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:General_Functions]]
 
{{HelpFiles}}
 
{{HelpFiles}}
  
 +
=== DateTime_toInvariant<br/> ===
  
 +
Convert datetime array to string.
  
=== DateTime_toInvariant ===
+
The function can accept empty and then returns empty string
 
 
Convert datetime array to string.
 
  
 
=== Syntax ===
 
=== Syntax ===

Latest revision as of 08:25, 16 October 2017


DateTime_toInvariant

Convert datetime array to string.

The function can accept empty and then returns empty string

Syntax

DateTime_toInvariant(date)

Arguments

date: Is array which is datetime to be convert

Return type

string datetime format is yyyy-MM-dd hh:mm:ss

Examples

 array date = getDateTime();
 string dt = DateTime_toInvariant(date);
 print(dt);
 //2015-11-16 01:25:48