Re: [R] Problem with GMT+/- time zones

2012-02-02 Thread Andrew Digby
Wow. Thanks very much for pointing that out - I never would have guessed it was deliberate that + and - were reversed! For future reference for anyone else similarly confused by this departure from time zone and mathematic convention, here's the relevant part of en.wikipedia.org/wiki/Tz_databa

Re: [R] Problem with GMT+/- time zones

2012-02-01 Thread Jeff Newmiller
Should has nothing to do with it. That is the way the Olsen tz database works. See en.wikipedia.org/wiki/Tz_database. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#.

[R] Problem with GMT+/- time zones

2012-02-01 Thread Andrew Digby
I'm struggling with time zone version when expressed as hours offset from GMT. Can anyone confirm that the behaviour below is incorrect? It seems that the GMT offsets are backwards: > format(as.POSIXct("2011-05-23 17:23:00", > tz="Europe/London"),tz="America/New_York",usetz=T) [1] "2011-05-23