getElapsed: getElapsed

Description Usage Arguments Value Author(s) See Also Examples

View source: R/functions.R

Description

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

Usage

1
getElapsed(stamp)

Arguments

stamp

timestamp of a reference.

Value

decimal number of seconds since reference timestamp.

Author(s)

Pierrick Bruneau

See Also

getTimestamp

Examples

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

datautils documentation built on May 29, 2017, 11:12 p.m.