Hours Procedure

Creates a TimeSpan for the specified number of hours.
Declaration
function Hours(count as Number) as TimeSpan

Parameters

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
01:00:00.000
01:30:00.000