DateTime fromJson

From Catglobe Wiki
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