Difference between revisions of "DateTime toInvariant"
Line 1: | Line 1: | ||
− | {{HelpFiles}} | + | {{HelpFiles}} __NOTOC__ |
− | |||
− | + | === DateTime_toInvariant === | |
− | + | Convert datetime array to 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 === | |
− | + | <source lang="javascript"> | |
− | + | array date = getDateTime(); | |
− | + | string dt = DateTime_toInvariant(date); | |
− | + | print(dt); | |
− | + | //2015-11-16 01:25:48 | |
− | + | ||
− | + | </source> | |
− | < |
Revision as of 03:01, 16 November 2015
DateTime_toInvariant
Convert datetime array to 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