DateTime.getHour

Retrieves the hour of the day represented by @datetime in the gregorian calendar. The return is in the range of 0 to 23. Call gst_date_time_has_haur before, to avoid warnings.

Return: the hour of the day

class DateTime
int
getHour
()

Meta