unixtime_to_str_datetime | R Documentation |
This is a convenient wrapper for the unix2YMD... functions
unixtime_to_str_datetime(unixtime, str_function)
unixtime |
The unix time: number of seconds since 01/01/1970 00:00:00 UTC |
str_function |
The date-time string format to convert to. Available options are YMD, YMDh and YMDhm where Y is year (4 digits), M is month (2 digits), D is day (2 digits), h is hour (2 digits) and m is minutes (2 digits). |
A date-time string
unixtime_to_str_datetime(as.numeric(Sys.time()), YMD)
unixtime_to_str_datetime(as.numeric(Sys.time()), YMDh)
unixtime_to_str_datetime(as.numeric(Sys.time()), YMDhm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.