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, [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html