Function: addHours()

Usage

addHours(<Date>, <Number of Hours>) : Date

The addHours function is used to add the specified number of hours to the specified date parameter.

Examples

When you use static dates, you need to enclose the value with the # symbol. The date should be in the following format - dd/mm/yyyy hh:mm

addHours(#01/02/2021 13:45#, 2) => #01/02/2021 15:45#

Learn more about how you can get started using the Formula Field.

What would you improve in this article?
Powered by:

Type above and the results will be displayed here.