[R] finding the year of a date

Dimitri Liakhovitski dimitri.liakhovitski at gmail.com
Mon Oct 25 18:38:33 CEST 2010


I know that I can use as.yearmon in the package "zoo" to find the year
and the month of a date.
I can use as. yearqtr to find the year and the quarter.
But how can one find just the year of a date?

Thanks a lot!

-- 
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com



More information about the R-help mailing list