GLib.Date.prototype.get_day_of_year

function get_day_of_year(): Number(guint) {
    // Gjs wrapper for g_date_get_day_of_year()
}
  

Returns the day of the year, where Jan 1 is the first day of the year. The date must be valid.

Returns

day of the year