Hello I am using POSIXlt date format and I am having the following problem, I've got two dates called FechaIni and FechaFin, one in 2008 and the other in 2009 but when I do FechaIni$year and FechaFin$year to call the year I am getting the smae year for both.
> FechaIni [1] "2008-11-13 UTC" > FechaFin [1] "2009-06-13 UTC" > FechaFin$year [1] 108 > FechaIni$year [1] 108 does somebody know what is happening? how can I solve this if I need two compare just the years of two dates? Thank you Felipe Parra [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.