Description Usage Arguments Author(s) Examples
View source: R/POSIXtime2iso8601.R
To avoid ambiguities when sharing and comparing timestamps. All timestamps are expressed in iso8601 format: https://en.wikipedia.org/wiki/ISO_8601
1 | POSIXtime2iso8601(x,tz)
|
x |
Vector of timestamps in POSIX format |
tz |
Timezone of data collection, e.g. "Europe/London". See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for full list |
Vincent T van Hees <vincentvanhees@gmail.com>
1 2 3 4 5 6 | ## Not run:
x ="2017-05-07 13:15:17 CEST"
tz = "Europe/Amsterdam"
x_converted = POSIXtime2iso8601(x,tz)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.