Displaying 1 result from an estimated 1 matches for "datevisit".
Did you mean:
datelist
2013 Apr 17
2
Problem with DateVisit-gives wrong year?
Hi I have the following factor of dates that I want to converted to Date class so I can extract the month
> test.date
[1] 14/05/2012 14/05/2012 14/05/2012 14/05/2012 14/05/2012 14/05/2012
[7] 14/05/2012 14/05/2012 14/05/2012 14/05/2012
201 Levels: 01/10/2012 01/11/2012 01/12/2012 02/07/2012 ... 28/09/2012
I use code below
ntest.date<-as.Date(test.date,'%d/%m/%y')
but the output