Re: [R] Entering times around the start of daylight savings time

2004-04-30 Thread Ian Kennedy
> You might do better using seq.POSIXt. Your basic problem is that your > sequence includes a time that doesn't exist, 02:00 on the transition > day. Thanks. I guess I didn't state my question clearly enough. I didn't use seq.POSIXt because I was interested in reading times not necessarily in a

Re: [R] Entering times around the start of daylight savings time

2004-04-29 Thread Don MacQueen
You might do better using seq.POSIXt. Your basic problem is that your sequence includes a time that doesn't exist, 02:00 on the transition day. seq.POSIXt(ISOdatetime(2004,4,4,0,0,0),by='hour',len=5) [1] "2004-04-04 00:00:00 PST" "2004-04-04 01:00:00 PST" "2004-04-04 03:00:00 PDT" "2004-04-04 0

[R] Entering times around the start of daylight savings time

2004-04-29 Thread Ian Kennedy
I'm having problems entering dates and times around when daylight savings time starts. If I type (on R 1.8.1 on Gentoo Linux) > ISOdatetime(2004,4,4,0:4,0,0,"GMT") [1] "2004-04-03 19:00:00 EST" "2004-04-03 20:00:00 EST" [3] "2004-04-03 22:00:00 EST" "2004-04-03 22:00:00 EST" [5] "2004-04-03 23:0