DateTime.addMinutes

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

class DateTime
addMinutes
()

Parameters

minutes int

the number of minutes to add

Return Value

Type: DateTime

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

Meta

Since

2.26