Displaying 1 result from an estimated 1 matches for "posixctdata".
2019 Mar 09
0
POSIXlt$zone and $gmtoff questions
...character_, tz="GMT"))
# NA, $zone="", $gmtoff=NA_integer_
Another oddity is that as.POSIXlt(characterData, tz="not-GMT") fills the
gmtoff component with NAs even though the zone and isdst components give
the information required to figure out the gmtoff. as.POSIXlt(POSIXctData)
does give proper values to gmtoff
f(as.POSIXlt("2019-03-08", tz="US/Pacific"))
# 2019-03-08, $zone="PST", $gmtoff=NA_integer_
f(as.POSIXlt(as.POSIXct("2019-03-08", tz="US/Pacific")))
# 2019-03-08, $zone="PST", $gmtoff=-28800L
Is this l...