More actions
Nguyenduyan (talk | contribs) No edit summary |
Nguyenduyan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
==== DateTime_fromJson==== | ==== DateTime_fromJson==== | ||
Convert DateTime string Json to [[DateTime_class]] | Convert DateTime string Json to [[DateTime_class]] | ||
====Syntax==== | ======Syntax====== | ||
DateTime_fromJson(string DateTime) | DateTime_fromJson(string DateTime) | ||
==== Arguments ==== | ====== Arguments ====== | ||
DateTime is in string format yyyy-MM-ddThh:mm:ss.msZ | DateTime is in string format yyyy-MM-ddThh:mm:ss.msZ | ||
==== Return type ==== | ====== Return type ====== | ||
[[DateTime_class]] | [[DateTime_class]] | ||
==== Examples ==== | ====== Examples ====== | ||
<source lang="javascript"> | <source lang="javascript"> | ||
string dtJson = "2024-12-30T08:22:23.9900000Z"; | string dtJson = "2024-12-30T08:22:23.9900000Z"; |
Latest revision as of 09:22, 3 April 2025
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
Examples
string dtJson = "2024-12-30T08:22:23.9900000Z";
DateTime dateTime = DateTime_fromJson(dtJson);//2024-12-30 08:22:23