OpenTypeMethods.Hour Method (Object)

 

Returns the hour value of the given DateTime instance.

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

public static object Hour(
	object dateTime
)

Parameters

dateTime
Type: System.Object

A DateTime object.

Return Value

Type: System.Object

The hour value of the given DateTime instance.

.NET Framework
Available since 3.5
Return to top
Show: