Method

GLibDateTimeget_hour

Declaration

gint
g_date_time_get_hour (
  GDateTime* datetime
)

Description

Retrieves the hour of the day represented by datetime.

Available since:2.26

Return value

Returns: gint
 

The hour of the day.