Win32_LocalTime

Describes an instance in time as returned by Win32ClockProvider. When a query is submitted to the Win32LocalClockProvider, the results are returned as Win32_LocalTime objects with times matching the query. These are returned as part of __InstanceModificationEvents

Quick Start

Properties

In this WMI class, all WMI properties are read-only. You can only read values but not change them.

Day

Data type UInt32

The current matching day (1-31)

DayOfWeek

Data type UInt32

The current matching day of the current week (0-6, Sunday being 0)

Hour

Data type UInt32

The current hour of the current day (0-23)

Milliseconds

Data type UInt32

(currently not used)

Minute

Data type UInt32

The current minute (0-59)

Month

Data type UInt32

The current matching month (1-12)

Quarter

Data type UInt32

The current quarter of the current year (1-4)

Second

Data type UInt32

The current second of the current minute (0-59)

WeekInMonth

Data type UInt32

The current week in the current month (1-6)

Year

Data type UInt32

The current matching year (4 digits)

Methods

Examples

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:25:56 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin