beautypg.com

Seconds – Visara Master Console Center Scripting Guide User Manual

Page 182

background image

Chapter 5 Script Commands

Scripting Guide

182

SECONDS

Syntax:

SECONDS() ==> %EpochSeconds

Description:

Returns the time value for the current time.

Action:

The epoch seconds for the current system time is returned.

Parameters:

N/A.

Returns:

Numeric value. The number of seconds past the epoch for the current

system time.

Notes:

1. Refer also to the description of Date/Time on page 40.
2. To convert the returned value into a date or time, use the

TIMESTR() command.

Example:

%Now := SECONDS()

See Also:

DATE, TIME, TIMESTR, WAITFOR, WAITUNTIL