getElapsed {datautils} | R Documentation |
return the decimal number of seconds elapsed since a reference timestamp.
getElapsed(stamp)
stamp |
timestamp of a reference. |
decimal number of seconds since reference timestamp.
Pierrick Bruneau
getTimestamp
stamp <- getTimestamp() Sys.sleep(1) stamp2 <- getElapsed(stamp)