add_months


Description:

public DateTime add_months (int months)

Creates a copy of this and adds the specified number of months to the copy.

Add negative values to subtract months.

Parameters:

this

a DateTime

months

the number of months

Returns:

the newly created DateTime which should be freed with g_date_time_unref .