Re: [R] convert string to date format

2013-09-18 Thread arun
    date time #1 2013.09.17 16:25:17 #2 2013.09.18 16:35:17 #3 2013.09.19 16:55:17 A.K. - Original Message - From: Martin Batholdy To: "r-help@r-project.org" Cc: Sent: Wednesday, September 18, 2013 8:10 AM Subject: [R] convert string to date format Hi, I have a vector that l

[R] convert string to date format

2013-09-18 Thread Martin Batholdy
Hi, I have a vector that looks like this; (imported from another file) dates <- c("Tue Sep 17 2013 16:25:17", "Wed Sep 18 2013 16:35:17", "Thu Sep 19 2013 16:55:17") now I need a data frame with two columns; datetime 2013.09.17 16:25:17 2013.09.18