Thanks .I tried its working but when i tried to view the dataframe i got the following error Error in edit.data.frame(get(subx, envir = parent), title = subx, ...) : can only handle vector and factor elements -- View this message in context: http://www.nabble.com/Datetime-conversion-tp25503138p25507734.html Sent from the R help mailing list archive at Nabble.com.