Product Site

5.4.6.41. addHours

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