as.Dates should work correctly!