HoursAfter Function

Description:
The time which is so many whole hours after the source time.
If the number of hours is positive then the resultant time will be after the source time.
If the number of hours is negative then the resultant time will be before the source time.
Returns:
Time
Parameters:
Parameter
Data Type
Description
1
Time
The source time.
2
Whole Number
The number of whole hours after.
Examples:
When using functions inside a field, remember the field brackets:
{HoursAfter(OpeningTime, TradingHours)}
Expression
Result
HoursAfter( Time(11,15,45), 12 )
Time(23,15,45)
HoursAfter( Time(23,59,59), 12 )
Time(11,59,59)

Related content