DateTime.addSeconds

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

class DateTime
addSeconds
(
double seconds
)

Parameters

seconds double

the number of seconds to add

Return Value

Type: DateTime

the newly created #GDateTime which should be freed with g_date_time_unref().

Meta

Since

2.26