Reference for Win32_UTCTime
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Desktop and Environment

Description (Beschreibung):

The Win32_UTCTime WMI class describes a point in time returned as Win32_UTCTime objects resulting from a query. These are returned as the value for the TargetInstance property in the __InstanceModificationEvent system class. The Hour property is returned as the UTC time in a 24-hour clock. Note that the smallest time segment supported is the second. This class is new for Windows XP.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_UTCTime")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption


Link zur Original-Microsoft-Dokumentation