GLib.Date.prototype.get_monday_week_of_year

function get_monday_week_of_year(): Number(guint) {
    // Gjs wrapper for g_date_get_monday_week_of_year()
}
  

Returns the week of the year, where weeks are understood to start on Monday. If the date is before the first Monday of the year, return 0. The date must be valid.

Returns

week of the year