Parse strings into dates in yyyy-mm-dd format
to_ymd.Rd
Parse strings into dates in yyyy-mm-dd format
Examples
to_ymd(c("2010.0211", 202002, 2020.2, "2020"))
#> [1] "2010-02-11" "2020-04-01" "2020-04-01" "2020-01-01"
to_ymd.Rd
Parse strings into dates in yyyy-mm-dd format
to_ymd(c("2010.0211", 202002, 2020.2, "2020"))
#> [1] "2010-02-11" "2020-04-01" "2020-04-01" "2020-01-01"