[R] POSIX
Brian D Ripley
ripley at stats.ox.ac.uk
Thu Dec 9 21:59:12 CET 2004
On Thu, 9 Dec 2004, Omar Lakkis wrote:
> if I have a variable of type "POSIXt" "POSIXct" like "1969-12-31
> 19:00:01 EST" how can I dynamicly get the year (or years if vector)
> and month?
See ?months, or any other official documentation on dates in R.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list