aqDateTime.GetHours method to get the hours part of the specified Date/Time value. The method uses the 24-hour format.
The method is applied to the following object:
The method has the following parameter:
Specifies the Date/Time value whose hours portion you want to obtain.
An integer number ranging from 0 to 23 that corresponds to the hours part of the given time value.