Fields / Formula / function
AddHours
Gives the Date/Time or Time a number of hours later (earlier, for a negative number). Part of an hour counts: 1.5 is an hour and a half.
Syntax
AddHours(value, hours)Returns
What it was given: a Date/Time for a Date/Time, a Time for a Time.
Example
AddHours(StartDateTime, 1)Notes and limitations
A Date/Time moves by exactly that time. A Time goes round the clock: 11:00 PM plus 2 is 1:00 AM, to the minute, as that time today on the clock of the person the formula runs for (like Time). A plain Date has no time and is refused ("AddHours needs a Time or a Date/Time."). A blank number of hours gives the same value; a blank value gives null.