str_datetime_to_unixtime | R Documentation |
This is a convenient wrapper for the YMD..2unix functions
str_datetime_to_unixtime(str_datetime)
str_datetime_to_datetime(str_datetime)
str_datetime |
A date-time string - its format is guessed from the number of characters in the string: 8 = YYYYMMDD, 10 = YYYYMMDDHH, 12 = YYYYMMDDHHmm. May be passed as a character string or numeric. |
The unix time in seconds since 01/01/1970 00:00:00
str_datetime_to_unixtime("20170101")
str_datetime_to_unixtime(2017010112)
str_datetime_to_unixtime("201701011230")
str_datetime_to_datetime("20170101")
str_datetime_to_datetime(2017010112)
str_datetime_to_datetime("201701011230")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.