ActiveReports 12
Hour Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace > DateAndTime Class : Hour Method
Required. Date value from which you want to extract the hour.
Returns an Integer value from 0 through 23 representing the hour of the day.
Syntax
'Declaration
 
Public Shared Function Hour( _
   ByVal timeValue As Date _
) As Integer
public static int Hour( 
   DateTime timeValue
)

Parameters

timeValue
Required. Date value from which you want to extract the hour.

Return Value

Returns an Integer value from 0 through 23 representing the hour of the day.
See Also

Reference

DateAndTime Class
DateAndTime Members