Skip to content
Prev 21769 / 63424 Next

Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

On Fri, 1 Sep 2006, Peter Dalgaard wrote:
[...]
(Your message crossed mine.)

I think it is not a bug and actually explicitly documented in ?as.POSIXlt.  
What may help those who have not read that documentation is to stick the 
UTC timezone on the conversion to POSIXlt.  Getting
[1] "2006-09-01 UTC"
[1] "2006-09-01 UTC"
[1] "2006-09-01 01:00:00 GMT Daylight Time"

might be helpful to non-readers.