Hi! 10.06.2015, 13:20, khatri wrote:
My date column is in following format : "%m/%d H:M:S" There is not mention of year in the data.So how can I read this using strptime function. I have tried strptime(dates,"%m/%d H:M:S") but this is returning NA. Thanks
How about: strptime(dates,"%m/%d %H:%M:%S") Some data could also be helpful for testing... HTH, Kimmo ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.