Hours Procedure
Creates a
TimeSpan for the specified number of hours.
Declaration
function Hours(count as Number) as TimeSpan
Parameters
- count as Number — The number of hours in the time span.
Return value
TimeSpan — A time span representing
count hours.
Example
Code
dim x = Hours(1)
print x
x = x + Hours(0.5)
print x
Output