Method

GLibDateTimeget_month

since: 2.26

Declaration

gint
g_date_time_get_month (
  GDateTime* datetime
)

Description

Retrieves the month of the year represented by datetime in the Gregorian calendar.

Available since: 2.26

Return value

Type: gint

The month represented by datetime.