Views:

Description

Returns a date which is calculated by adding the number of hours parameter (Offset) to the given (Input) date.

Signature

AddHours('datetime', 'numberofhours')

Example

AddHours('02/23/2012 00:00:00', 4) Returns 02/23/2012 04:00:00 (US Format)

Parameters

NameTypeDescriptionRequired
datetimexxxxxxxxxxxx
numberofhoursxxxxxxxxxxxx

Notes: