addSeconds

fun addSeconds(seconds: Double): DateTime?

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

Return

the newly created #GDateTime which should be freed with g_date_time_unref(), or null

Since

2.26

Parameters

seconds

the number of seconds to add