parse_date | R Documentation |
Parse date from strings using different formats
parse_date(x, formats = NULL, out_date = "%Y-%m-%d")
x |
A vector with date(time) expressions to be parsed and converted. |
formats |
character vector of formats to try out (see base::strptime). If NULL, uses a set of predefined formats mostly taken from the anytime package. |
out_date |
character defining the date format of the parsed strings |
character vector of parsed dates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.