GLib.DateTime.prototype.add_seconds
function add_seconds(seconds: Number(gdouble)): GLib.DateTime {
// Gjs wrapper for g_date_time_add_seconds()
}
Creates a copy of datetime and adds the specified number of seconds. Add negative values to subtract seconds.
Since 2.26
- seconds
the number of seconds to add
- Returns
the newly created GLib.DateTime which should be freed with GLib.DateTime.prototype.unref.