Library: | xplore |
See also: | getnow |
Quantlet: | etime | |
Description: | computes the time elapsed is seconds between two dates. |
Usage: | e = etime(d1,d2) | |
Input: | ||
d1 | vector, start date (in time vector format) | |
d2 | vector, end date (in time vector format) | |
Output: | ||
e | scalar, elapsed time in seconds |
library("xplore") d1=getnow(1) ; perform calculations d2=getnow(1) e=etime(d1,d2)
The time in seconds of the performed calculations is displayed