GLib.Date.prototype.get_weekday

function get_weekday(): GLib.DateWeekday {
    // Gjs wrapper for g_date_get_weekday()
}
  

Returns the day of the week for a GLib.Date. The date must be valid.

Returns

day of the week as a GLib.DateWeekday.