Product Site

5.4.6.39. addWeeks

Returns a new DateTime instance with a number of weeks added to the timestamp. The receiving instance is unchanged. The weeks value must be a valid number, including fractional values. Negative values result in weeks being subtracted.