DateTime.addDays

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

class DateTime
addDays
(
int days
)

Parameters

days int

the number of days

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

Meta

Since

2.26