You have to tell R that a column has date/time content. Here is an example:

test<-"3/23/2010 20:55" #this is your format 
as.POSIXct(test, format="%m/%d/%Y %H:%M") #with the format parameter you
tell R how to interpret your data

_______________________
Moritz Grenke
http://www.360mix.de

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to