search for: gcnv

Displaying 1 result from an estimated 1 matches for "gcnv".

Did you mean: gcno
2002 May 03
1
Daylight savings time and conversion to POSIXt (arghh!)
...onverted so as to be the same, when they are in fact an hour apart. The third element is converted as if it were PDT, a 7 hour offset from GMT, when it is actually an 8 hour offset. This is not a problem. In fact, it is easy to handle both the first time and the last time correctly with > gcnv <- as.POSIXct(gdat,tz='GMT') + 28800 > gcnv [1] "2002-04-07 01:30:00 PST" "2002-04-07 01:30:00 PST" [3] "2002-04-07 04:30:00 PDT" And verify that the first and last are two hours apart with: > diff(as.numeric(gcnv)) [1] 0 7200 But the middle one...