It works but what i need is the result also as a column .
I tried using the following code .
dt$new<-strptime(as.character(dt$datetime),"%d%b%Y.
It shows the following error

Error in `$<-.data.frame`(`*tmp*`, "Sa_dt", value = list(sec = c(0, 0,  : 
  replacement has 9 rows, data has 14.

Please help me to solve this
-- 
View this message in context: 
http://www.nabble.com/Datetime-conversion-tp25503138p25506438.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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