Export (0) Print
Expand All

SWbemDateTime.Month property

The Month property of the SWbemDateTime object gets or sets a value that represents the month component of the datetime value. The number must be in the range of 01 through 12 or the error wbemValueOutOfRange is returned.

For an explanation of this syntax, see Document Conventions for the Scripting API.

This property is read/write.

Syntax

SWbemDateTime.Month As Long

Property value

Examples

For examples of using the SWbemDateTime object to convert CIM DATETIME values to and from either the FILETIME format or the VT_DATE format, see WMI Tasks: Dates and Times. For a description of the CIM DATETIME format, see Date and Time Format.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Type library

Wbemdisp.tlb

DLL

Wbemdisp.dll

See also

SWbemDateTime.MonthSpecified
SWbemDateTime
DATETIME

 

 

Show:
© 2014 Microsoft