Export (0) Print
Expand All

OpenTypeMethods.Year Method

Returns the year value of the given DateTime instance.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public static Object Year(
	Object dateTime
)

Parameters

dateTime
Type: System.Object
A DateTime object.

Return Value

Type: System.Object
The year value of the given DateTime instance.
Show:
© 2014 Microsoft