Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DateTime objToInvariant

From Catglobe Wiki


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