vbs 时间问题

2026年09月10日 00:30
有1个网友回答
网友(1):

m_time=time
msgbox "原来的时间格式"&m_time
for i=1 to len(m_time)
str=mid(m_time,i,1)
if str=":" then
temp=temp+"-"
else temp=temp+str
end if
next
m_time=temp
msgbox "更改后的"&m_time