unixToDate {openblender} | R Documentation |
Returns a Unix timestamp with a date or datetime string. It also accepts a list or vector of strings and returns a converted list of Unix timestamps. Consult documentation here.
unixToDate( unix_timestamp, date_format = "%d-%m-%Y %H:%M:%S", timezone = "GMT" )
unix_timestamp |
Unix timestamp as double. For example : 508133460 This can also be a vector of those timestamps or the timestamp column in your anchor. |
date_format |
The format of the date string. |
timezone |
String of timezone, Default GMT. To list possible timezones execute OlsonNames() |
A double unix timestamp or a vector of those doubles.
To see more details go to openblender.io
## Not run: df_anchor$timestamp <- openblender::dateToUnix(date_time_str=1602160634, date_format="%d.%m.%Y %H:%M:%S", timezone="US/Eastern") ## End(Not run)