vbs讀取excel數(shù)據(jù) 用VBS讀取系統(tǒng)當前時間?
用VBS讀取系統(tǒng)當前時間?獲取當前時間:代碼如下:currenttime=hour(now)&“:”&minute(now)&“:”&second(now)M=“current
用VBS讀取系統(tǒng)當前時間?
獲取當前時間:代碼如下:currenttime=hour(now)&“:”&minute(now)&“:”&second(now)M=“current time”& currenttime msgbox M獲取當前日期方法1:代碼如下:currentdate1=date()msgbox currentdate1獲取當前日期方法2:代碼如下:currentdate2=年(現(xiàn)在)& “-”& “-”& “-月(現(xiàn)在)& “-”& “-今天(現(xiàn)在)msgbox currentdate2