Last data update: 2014.03.03

R: getElapsed
getElapsedR Documentation

getElapsed

Description

return the decimal number of seconds elapsed since a reference timestamp.

Usage

getElapsed(stamp)

Arguments

stamp

timestamp of a reference.

Value

decimal number of seconds since reference timestamp.

Author(s)

Pierrick Bruneau

See Also

getTimestamp

Examples

stamp <- getTimestamp()
Sys.sleep(1)
stamp2 <- getElapsed(stamp)

Results