613-518-1166 info@zimdatabases.com

ZIM Language Reference


< All Topics


Calculates a time value by adding hours to (or subtracting hours from) a specified time value.





an 8-digit number, or an expression that evaluates to an 8-digit number, that expresses a valid time value in the format HHMMSSTT


a number, or an expression that evaluates to a number

Return Value

Number, representing a time value.


Use $addhours to perform arithmetic with time values. The $addhours function calculates a time value by adding a number representing hours to a time value. If number is negative, the effect is to subtract the hours from the time.


If $Time has the value 22503075, then


Evaluates to 23503075.


Evaluates to 00503075.


Evaluates to 19503075.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents