[R] How to seperate date and time into different columns?

FMH kagba2006 at yahoo.com
Fri Jan 22 19:09:44 CET 2010


Dear All,

I have a series of data in which the first column consist of a combination of date and time, for instance 17 April 2008 at 4.01pm, such data is recorded as:

4/17/2008 16:01 

I'd like to seperate it into four different columns which consist of Day, Month,Year and Time, respectively.

Could someone please advice me on this mater?

Thank you,
Fir



More information about the R-help mailing list