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 toInvariant: Difference between revisions

From Catglobe Wiki
Created page with "{{HelpFiles}} __NOTOC__ <br/>DateTime_toInvariant Convert datetime array to string. === Syntax === DateTime_toInvariant(date) === Arguments === date: Is array which is ..."
 
Nguyenduyan (talk | contribs)
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{HelpFiles}} __NOTOC__
[[Category:General_Functions]]
{{HelpFiles}}


=== DateTime_toInvariant<br/> ===


<br/>DateTime_toInvariant
Convert datetime array to string.


Convert datetime array to string.
The function can accept empty and then returns empty string


=== Syntax ===
=== Syntax ===
Line 26: Line 28:
  //2015-11-16 01:25:48
  //2015-11-16 01:25:48
   
   
</source>
</source> __NOTOC__

Latest revision as of 07: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