getElapsed {datautils}R 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)

[Package datautils version 0.1.5 Index]