Method

GLibDateTimeget_day_of_year

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

Returns: gint
 

The day of the year.