Skip to content
Prev 317911 / 398502 Next

Converting the data in year month day hour and minutes to date

You need to convert the factor to character.

as.Date( as.character(mydata$Date), "%Y-%m-%d")

should do it.
John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!