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 objToInvariant

From Catglobe Wiki
Revision as of 07:04, 29 November 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:General_Functions {{HelpFiles}} === DateTime_objToInvariant === Convert datetime object to string. === Syntax === DateTime_objToInvariant(DateTime date) ===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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