Re: [R] POSIXlt and months

2013-09-03 Thread Gabor Grothendieck
On Tue, Sep 3, 2013 at 7:31 AM, Terry Therneau wrote: > The help page for as.POSIXlt suggests using it as a way to extract month, > day, and year. > However, I can't find any documentation on the results and am a bit > surprised by the month portion. > > An example, run about 6:21 AM on Sept 3. >

[R] POSIXlt and months

2013-09-03 Thread Terry Therneau
The help page for as.POSIXlt suggests using it as a way to extract month, day, and year. However, I can't find any documentation on the results and am a bit surprised by the month portion. An example, run about 6:21 AM on Sept 3. > unlist(unclass(as.POSIXlt(Sys.time( sec min