GLib.DateTime.prototype.add_minutes

function add_minutes(minutes: Number(gint)): GLib.DateTime {
    // Gjs wrapper for g_date_time_add_minutes()
}
  

Creates a copy of datetime adding the specified number of minutes. Add negative values to subtract minutes.

Since 2.26

minutes

the number of minutes to add

Returns

the newly created GLib.DateTime which should be freed with GLib.DateTime.prototype.unref.