Re: [R] excel dates and times in R

2011-08-05 Thread Tyler Rinker
16 +0100 > From: ted.hard...@wlandres.net > To: r-help@r-project.org > CC: emma.ra...@jbaconsulting.co.uk > Subject: Re: [R] excel dates and times in R > > On 05-Aug-11 10:27:28, bevare wrote: > > Hello, > > I am having some fun dealing with dates and times. My input &g

Re: [R] excel dates and times in R

2011-08-05 Thread Jannis
Well, strptime is certainly the way to go. You did not provide any reproducible example so i can just roughly point out the way to go: 1: combine the two colums to one with paste(,collapse='_') 2: strptime() with the corresponding formats (like "%d-%b-%Y_%H:%M:%S" or similar) HTH Jannis On

Re: [R] excel dates and times in R

2011-08-05 Thread Ted Harding
On 05-Aug-11 10:27:28, bevare wrote: > Hello, > I am having some fun dealing with dates and times. My input > is a excel csv file with two columns with data in the following > format: > > date time > 25-Jun-1961 04:00:00 > > i.e. day - mont

[R] excel dates and times in R

2011-08-05 Thread bevare
Hello, I am having some fun dealing with dates and times. My input is a excel csv file with two columns with data in the following format: date time 25-Jun-1961 04:00:00 i.e. day - month - year hour:min:sec I would like to have a si