Description Usage Arguments Value Examples
Unix to datetime conversion
1 | convert_unix(x, ms = TRUE, timezone = "UTC")
|
x |
numeric vector of unix formatted dates |
ms |
unix time includes miliseconds? |
timezone |
default is UTC |
vector of datetimes
1 2 3 4 5 6 7 | # useful for evaluation metrics
unix_origin <- 0L
convert_unix(unix_origin)
# 2 days after origin, disregarding miliseconds
two_days <-(2 * 24 * 60 * 60)
convert_unix(two_days, ms = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.