[ CCode ( cname = "time_add_day" ) ]
public time_t time_add_day (time_t time, int days)
Adds a day onto the time, using local time.
Note that if clocks go forward due to daylight savings time, there are some non-existent local times, so the hour may be changed to make it a valid time. This also means that it may not be wise to keep calling time_add_day to step through a certain period - if the hour gets changed to make it valid time, any further calls to time_add_day will also return this hour, which may not be what you want.
| time |
A time_t value. |
| days |
Number of days to add. |
|
a time_t value containing |