util_add_months


Description:

[ Version ( since = "3.2" ) ]
public static long util_add_months (long t, int months)

Increases time t by the given number of months (or decreases, if months is negative).

Parameters:

t

Initial time

months

number of months to add or subtract

Returns:

a new time_t value