Get the current date method one:
Currentdate1=date() msgbox Currentdate1
Get the current date method two:
Currentdate2=year(Now)&"-"&Month(Now)&"-"&day(Now) msgbox Currentdate2
Get the current time:
CurrentTime=Hour(Now)&":"&Minute(Now)&":"&Second(Now) m = "当前时间"& CurrentTime msgbox m
More vbs code related to get the current time and date Please pay attention to the PHP Chinese website for articles!