Version 4.5.2
 —  Commands  —

ELAPSETIME

Description

Calculate the difference, in seconds, between two date and time stamps.

Syntax

ELAPSETIME date time date time 

date has the format YYYY/MM/DD. Starting with the year 2000, you must specify the year in the format YYYY. Up to 1999, you can specify the year in the format YY or YYYY.

time has the format HH:MM:SS.

Example

Procedure File Example

Vars.ncp

Variables Returned

#ELAPSETIME - a positive number representing the difference in seconds.

Related Commands

PAUSE, SLEEP, WAIT, WAITFOR, WAITM, WAITUNTIL

Usage

Procedure File: Yes
Command Line: No
Key: No
API: No

Top of page