VBS 获取当前所在时区信息

code:

 

Set wmiService = GetObject( "Winmgmts:root/cimv2" ) Set items = wmiService.ExecQuery( "Select * from Win32_TimeZone" ) For Each item in items Print "Description: " & item.Description Print "Daylight Name: " & item.DaylightName Print "Standard Name: " & item.StandardName Next

你可能感兴趣的:(timezone,each)