- WMI Library -
WMI Libraly > Win32_UTCTime Class

Win32_UTCTime Class

Describes an instance in time as returned by Win32ClockProvider. When a query is submitted to the Win32UTCClockProvider, the results are returned as Win32_UTCTime objects with times matching the query. These are returned as part of __InstanceModificationEvents
Namespace value is root/CIMV2.
WMI Provider value is Win32ClockProvider.


Properties

  • Day
  • The current matching day (1-31)

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

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

  • Milliseconds
  • (currently not used)

  • Minute
  • The current minute (0-59)

  • Month
  • The current matching month (1-12)

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

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

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

  • Year
  • The current matching year (4 digits)


    Methods

    Method not found.

    Example WQL

    SELECT * FROM Win32_UTCTime
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...