DateTime fromJson

From Catglobe Wiki
Revision as of 10:19, 30 December 2024 by Administrator (talk | contribs) (Created page with "== DateTime_fromJson== Convert DateTime string Json to DateTime_class ==Syntax== DateTime_fromJson(string DateTime) == Arguments == DateTime is in string format yyyy-MM-dd...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DateTime_fromJson

Convert DateTime string Json to DateTime_class

Syntax

DateTime_fromJson(string DateTime)

Arguments

DateTime is in string format yyyy-MM-ddThh:mm:ss.msZ

Return type

DateTime_class

Examples

string dtJson = "2024-12-30T08:22:23.9900000Z";
DateTime dateTime =  DateTime_fromJson(dtJson);//2024-12-30 08:22:23