以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]标准时间格式转换  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=174164)

--  作者:haotinghua
--  发布时间:2022/1/5 2:41:00
--  [求助]标准时间格式转换
需要把蛋清的时间转换成标准时间,结果如:2022-01-03T19:45:17.368Z5-5,并且需要是字符串格式
应该用什么函数?

--  作者:有点蓝
--  发布时间:2022/1/5 9:53:00
--  
dim s as string = "2022-01-03T19:45:17.368Z5-5"
s = s.replace("T"," ").split("Z")(0)
msgbox(s)