Method

GLibDateTimeget_month

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

Returns: gint
 

The month represented by datetime.