Toggle menu
868
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_objToInvariant

Convert datetime object to string.

Syntax

DateTime_objToInvariant(DateTime date)

Arguments

date: Is DateTime object, which is datetime to be convert

Return type

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

Examples

DateTime dt = new DateTime("2009/4/5");
string a = DateTime_objToInvariant(dt);
print(a);//2009-04-05 00:00:00