get_day_of_year | R Documentation |
A wrapper to retrieve the Julian date.
get_day_of_year(timestamp, format = "%Y-%m-%d %H:%M:%S")
timestamp |
A character or POSIX-formatted vector containing timestamp information |
format |
The date-time format of |
A numeric vector of Julian dates.
key_dates <- c("2018-01-01", "2018-12-31") get_day_of_year(key_dates, "%Y-%m-%d")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.