[R] Failed to convert text to date

Christofer Bogaso bog@@o@chr|@to|er @end|ng |rom gm@||@com
Sat May 31 18:32:26 CEST 2025


Hi,

I tried to convert a date-like string to date as below

as.Date("202012", format = "%y%m")

This gives NA

Could you please help why I am getting NA value?



More information about the R-help mailing list