parse_date {timeless} | R Documentation |
Parse date from strings using different formats
Description
Parse date from strings using different formats
Usage
parse_date(x, formats = NULL, out_date = "%Y-%m-%d")
Arguments
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 |
Value
character vector of parsed dates.
[Package timeless version 0.2.3 Index]