Displaying 1 result from an estimated 1 matches for "gtim".
Did you mean:
gaim
2002 May 03
1
Daylight savings time and conversion to POSIXt (arghh!)
...es are an hour apart.
They also cross the boundary from "standard" to "daylight-savings" in
their timezone, so that in the daylight-savings convention they would
represented with 1:30, 3:30, 4:30 (1:30 PST, 3:30 PDT, 4:30 PDT).
Here is a (naive) attempt at conversion:
> gtim <- as.POSIXct(gdat)
> gtim
[1] "2002-04-07 01:30:00 PST" "2002-04-07 01:30:00 PST"
[3] "2002-04-07 03:30:00 PDT"
Which doesn't work, as shown by:
> diff(as.numeric(gtim))
[1] 0 3600
The most serious problem, and the one for which I'm looking for...