Description Usage Arguments Value Examples
View source: R/format_hyfe_time.R
Create a table of standard date/time variables for downstream Hyfe functions.
This function is not usually called by an R
users; it's a background function
called by other hyfer
utilities.
But it can be handy if you have some timestamps that you want to format quickly.
1 | format_hyfe_time(timestamps, timezone = NULL)
|
timestamps |
A numeric vector of integer timestamps. It is assumed that these timestamps represent seconds since 00:00:00 UTC on January 1, 1970,which is the standard format of hyfe_data objects. |
timezone |
A character vector for the timezone, which must match one of the timezones listed in |
A dataframe with various date/time variables. See details here.
1 2 3 4 | format_hyfe_time(1626851363)
format_hyfe_time(1626851363, 'UTC')
format_hyfe_time(1626851363, 'Africa/Kampala')
format_hyfe_time(1626851363, 'America/Chicago')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.