ttime {tsdb} | R Documentation |
Translate Timestamps
Description
Translate a vector of timestamps.
Usage
ttime(x, from = "datetime", to = "numeric", tz = "",
strip.attr = TRUE, format = "%Y-%m-%d")
Arguments
x |
numeric |
from |
character: |
to |
character: |
tz |
character |
strip.attr |
logical: strip attributes; in particular, timezone information |
format |
character |
Details
ttime
(‘translate time’) converts timestamps
between formats.
Author(s)
Enrico Schumann
See Also
Examples
ttime(Sys.Date())
ttime(17397, from = "numeric", to = "Date")
[Package tsdb version 1.1-0 Index]