Displaying 1 result from an estimated 1 matches for "gdatg".
Did you mean:
gdata
2002 May 03
1
Daylight savings time and conversion to POSIXt (arghh!)
...strptime(x, format))
and the fact that the internal strptime has no timezone argument?
Somewhat more generally, if my input time character vector was
specified to be all in GMT, I would think that it should be possible
to convert this correctly to POSIXct or POSIXlt, but the same problem
occurs
gdatg <- c('2002-4-7 1:30:00 GMT',
'2002-4-7 2:30:00 GMT',
'2002-4-7 3:30:00 GMT')
> as.POSIXct(gdatg)
[1] "2002-04-07 01:30:00 PST" "2002-04-07 01:30:00 PST"
[3] "2002-04-07 03:30:00 PDT"
> as.POSIXct(gdatg,tz='...