以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  数据格式转换  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=90322)

--  作者:malavazos
--  发布时间:2016/9/9 16:50:00
--  数据格式转换
请问我有一个字符串08092042意思是8月9日20时42分,我要将数据更改为??月??日??时??分的掩码格式。如何实现
--  作者:有点蓝
--  发布时间:2016/9/9 16:57:00
--  
Dim s As String = "08092042"
s = s.Insert(8,"分").Insert(6,"时").Insert(4,"日").Insert(2,"月")
msgbox(s)