syntax:functions:addhours
This is an old revision of the document!
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:
* AddMonths(date_as_number, N) * AddYears(number_date, number)
syntax/functions/addhours.1576154803.txt.gz · Last modified: 2019/12/12 07:46 by dmitry