ADDHOUR Function

From Planfix
Jump to: navigation, search

ADDHOUR() — function adds or subtracts a specified number of hours from the selected date.

Format

ADDHOUR(Date, Count)

Examples

Subtract -3 hours from today's date (24-06-2022 10:10):

ADDHOUR(Now();-3) — Result: 24-06-2022 07:10


Add +4 hours to today's date (24-06-2022 10:15):

ADDHOUR(Now();4) — Result: 24-06-2022 14:15


Go To