[R] How to convert European short dates to ISO format?

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Jun 10 10:28:33 CEST 2020

On Wed, 10 Jun 2020 10:20:01 +0200
Luigi Marongiu <marongiu.luigi using gmail.com> wrote:

> the function as.Dates interprets them as American ones (mm/dd/yy)

> isoDates = as.Date(oriDates, format = "%m/%d/%y")

> How can I convert properly?

Pass the correct format? (Swap m and d in the format string.)

Best regards,

More information about the R-help mailing list