Re: [R] Unexpected behavior of clocktime related to daylight savings time

2008-11-09 Thread Thomas Lumley
I'm not surprised that strange things happen if you try to handle times in the duplicated hour without specifying which time you mean. If your current time zone setting is something like EST5EDT that includes both daylight-saving and standard times then 2008-11-02 01:16:00 occured twice,

Re: [R] Unexpected behavior of clocktime related to daylight savings time

2008-11-08 Thread Dennis Fisher
Professor Ripley, My apologies for not clarifying the timezone - I am in California (PDT - PST). I did review various help pages and I am still unclear on the explanation. I replicated your code: as.POSIXct(2008-11-02 01:17:00) [1] 2008-11-02 01:17:00 PST as.POSIXct(2008-11-02

[R] Unexpected behavior of clocktime related to daylight savings time

2008-11-07 Thread Dennis Fisher
Colleagues, I submitted this several days ago and no one responded, so I am trying again, trying a different subject line: I just encountered some unexpected behavior of difftime in relationship to the change from daylight savings to standard time. My understanding is that DST and ST take

Re: [R] Unexpected behavior of clocktime related to daylight savings time

2008-11-07 Thread Prof Brian Ripley
On Fri, 7 Nov 2008, Dennis Fisher wrote: Colleagues, I submitted this several days ago and no one responded, so I am trying again, trying a different subject line: Well, you posted something that indicated you had not studied the relevant help pages, without the information requested in the