Hi, You should have provided a reproducible example. To convert in general, ?as.POSIXct()
A.K. ----- Original Message ----- From: Antonio Rodriges <antonio....@gmail.com> To: r-help@r-project.org Cc: Sent: Tuesday, December 25, 2012 7:28 AM Subject: [R] as.Date to as.POSIXct Hello, I have converted some UNIX time stamps with as.Date as follows dates_unix <- seq( as.Date(convertTimeToString(timeStart)), length = length(data), by="1 mon") and now I would like to convert "dates_unix" from type Date to type POSIXct How can I do that? Thanks ______________________________________________ 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. ______________________________________________ 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.