
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
Commenti su questo manuale