Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Example:
library("xplore")
d1=getnow(1)
; perform calculations
d2=getnow(1)
e=etime(d1,d2)

Result:
The time in seconds of the performed calculations is displayed



Author: R. Weron, 20040111 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006