GLib.Date.prototype.subtract_months

function subtract_months(n_months: Number(guint)): void {
    // Gjs wrapper for g_date_subtract_months()
}
  

Moves a date some number of months into the past. If the current day of the month doesn't exist in the destination month, the day of the month may change. The date must be valid.

n_months

number of months to move