Method

GLibDateTimeget_day_of_year

since: 2.26

Declaration

gint
g_date_time_get_day_of_year (
  GDateTime* datetime
)

Description

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

Available since: 2.26

Return value

Type: gint

The day of the year.