Method

GLibDateTimeget_year

since: 2.26

Declaration [src]

gint
g_date_time_get_year (
  GDateTime* datetime
)

Description [src]

Retrieves the year represented by datetime in the Gregorian calendar.

Available since: 2.26

Return value

Type: gint

The year represented by datetime.