OpenTypeMethods.Hour Method
Returns the hour value of the given DateTime instance.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function Hour ( _
dateTime As Object _
) As Object
'Usage
Dim dateTime As Object
Dim returnValue As Object
returnValue = OpenTypeMethods.Hour(dateTime)
public static Object Hour(
Object dateTime
)
public:
static Object^ Hour(
Object^ dateTime
)
static member Hour :
dateTime:Object -> Object
public static function Hour(
dateTime : Object
) : Object
Parameters
- dateTime
Type: System.Object
A DateTime object.
Return Value
Type: System.Object
The hour value of the given DateTime instance.