Skip to content
Prev 58733 / 398502 Next

Converting strings to date

You need to be more specific when you say "it works" =)  strptime() 
returns a POSIXlt object whose printed representation appears to be a 
string (but it is a list).  What you want, I think, is either 
as.POSIXct() or as.Date().  See ?DateTimeClasses.

-roger
Jo??o Mendes Moreira wrote: