[R] Does strptime(...,tz=GMT) do anything?

2007-01-08 Thread David Forrest
Hi All In trying to correlate some tide gauge data I need to deal with varying timezones. From the documentation on strptime, it seemed that the tz variable might have some effect on the conversion, but I'm not seeing an effect. strptime(20061201 1:02 PST,format=%Y%m%d %H:%M,tz=PST)+0 [1]

Re: [R] Does strptime(...,tz=GMT) do anything?

2007-01-08 Thread Prof Brian Ripley
Is EST a timezone on your system? You have not told us your system, but on most the timezone in the Eastern US is EST5EDT, not EST. Similarly with PST. (See ?as.POSIXct.) Remember that strptime returns an object of class POSIXlt and that has a 'isdst' field. The timezone controls that, but