Method

GLibDateTimeget_hour

since: 2.26

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

Type: gint

The hour of the day.