GLib.Date.get_days_in_month
function get_days_in_month(month: GLib.DateMonth, year: GLib.DateYear): Number(guint8) { // Gjs wrapper for g_date_get_days_in_month() }
Returns the number of days in a month, taking leap years into account.
- month
month
- year
year
- Returns
number of days in month during the year