Seconds Procedure
Creates a
TimeSpan for the specified number of seconds.
Declaration
function Seconds(count as Number) as TimeSpan
Parameters
- count as Number — The number of seconds in the time span.
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