Seconds Procedure

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

Parameters

Return value

TimeSpan — A time span representing count seconds.

Example

Code
dim x = Seconds(1)
print x
x = x + Seconds(0.5)
print x
Output
00:00:01.000
00:00:01.500