Last chance! 50% off unlimited learning
Sale ends in
Sys.timezone
for more information on how R
recognizes time zones.with_tz(time, tzone = "")
force_tz
x <- as.POSIXct("2009-08-07 00:00:01", tz = "America/New_york")
with_tz(x, "GMT")
# "2009-08-07 04:00:01 GMT"
Run the code above in your browser using DataLab