Edit

Share via


OpenTypeMethods.Month(Object) Method

Definition

Returns the month value of the given DateTime instance.

public:
 static System::Object ^ Month(System::Object ^ dateTime);
public static object Month (object dateTime);
static member Month : obj -> obj
Public Shared Function Month (dateTime As Object) As Object

Parameters

dateTime
Object

A DateTime object.

Returns

The month value of the given DateTime instance.

Applies to