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

Daniel Nordlund djnord|und @end|ng |rom gm@||@com
Wed Jun 10 10:29:11 CEST 2020


On 6/10/2020 1:20 AM, Luigi Marongiu wrote:
> isoDates = as.Date(oriDates, format = "%m/%d/%y")

You need to use the format for European short dates.

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


Hope this is helpful,

Dan

-- 
Daniel Nordlund
Port Townsend, WA  USA



More information about the R-help mailing list