以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 关于时间的问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=191949) |
-- 作者:lwq603980601 -- 发布时间:2024/5/17 14:33:00 -- 关于时间的问题 { "content": { "LACOST": "13", "CLIENT": "123", "ECNID": "", "MACOST": "131.00", "EPART": "", "OAID": "HT/SJBGLC20240517001", "CARE": ",2,,,5,3,4,,,3,1234564564哈哈哈哈哈我在测试", "BZ": "", "USER": "{id=1891779c2a128b1815685874da288b22}", "DAPD": "2", "RSPOS": "123", "MECNID": "", "PM": "{id=180e2172a66a2931200940b4dc1957f3}", "PDLE": "1", "DATE": "Fri May 17 00:00:00 CST 2024", "COST": "131.0", "CATY": "2", "EQTYPE": "" }, "lx": "insoachange" } 这里面DATE中的信息可以格式化为YYYY-MM-DD的格式么?
|
-- 作者:有点蓝 -- 发布时间:2024/5/17 14:58:00 -- Dim str As String = "Fri May 17 00:00:00 CST 2024" Dim dt As Date = DateTime.ParseExact(str, "ddd MMM dd HH:mm:ss CST yyyy", System.Globalization.CultureInfo.InvariantCulture) Output.Show(dt)
|
-- 作者:lwq603980601 -- 发布时间:2024/5/17 15:02:00 -- 谢谢蓝老师!又学到了 |