DateTime.addSeconds

glib.date_time.DateTime addSeconds(double seconds)

Creates a copy of datetime and adds the specified number of seconds. Add negative values to subtract seconds.

Parameters

secondsthe number of seconds to add

Returns

the newly created #GDateTime which

should be freed with [glib.date_time.DateTime.unref], or null