|
sysSecondsSince |
|
sysSecondsSince( timestamp1, // first timestamp [timestamp2]) // second timestamp Returns the # of seconds between 2 timestamps (timestamp2 - timestamp1). If timestamp2 is omitted, the current timestamp is taken for timestamp2. Example:
const start = sysTimestamp(); // save start timestamp
doSomeAction();
sysLog('doSomeAction() was running for '|sysSecondsSince(start)|' seconds.');
|
||||||||
| Copyright © IBK Landquart | Last revision: 27.05.2002 | << Back Top Next >> |