时间:2021-07-01 10:21:17 帮助过:84人阅读
Currentdate1=date() msgbox Currentdate1
获取当前日期方法二:
Currentdate2=year(Now)&"-"&Month(Now)&"-"&day(Now) msgbox Currentdate2
获取当前时间:
CurrentTime=Hour(Now)&":"&Minute(Now)&":"&Second(Now) m = "当前时间"& CurrentTime msgbox m
更多vbs获取当前时间日期的代码相关文章请关注PHP中文网!