User Tools

Site Tools


syntax:functions:addhours

AddHours(number_date, number)

Adds hours to the date. Subtracts if the number is negative.

Example:

Expression Result Notes
addhours(#2019-12-12, 3) 43811.125 Equivalent to 2019-Dec-12 03:00:00
addhours(#2019-12-12, 0-3) 43810.875 Equivalent to 2019-Dec-11 21:00:00

See also:

syntax/functions/addhours.txt · Last modified: 2019/12/12 12:47 by dmitry