แก้ไข

แชร์ผ่าน


OpenTypeMethods.Year(Object) Method

Definition

Returns the year value of the given DateTime instance.

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

Parameters

dateTime
Object

A DateTime object.

Returns

The year value of the given DateTime instance.

Applies to