ASP句法:前提是你的日期字符串格式与长度是“2008032283000”这样
response.Write left("2008032283000",4) & "-" & _
mid("2008032283000",4,2) & "-" & _
mid("2008032283000",6,2) & " " & _
mid("2008032283000",8,2) & ":" & _
mid("2008032283000",10,2) & ":" & _
right("2008032283000",2)
温馨提示:答案为网友推荐,仅供参考