Skip to content

Instantly share code, notes, and snippets.

@monkeycycle
Created March 14, 2019 20:46
Show Gist options
  • Save monkeycycle/27ab370743ad7446ca1ab348f691394f to your computer and use it in GitHub Desktop.
Save monkeycycle/27ab370743ad7446ca1ab348f691394f to your computer and use it in GitHub Desktop.
R: change timezone
eth302_takeoff$time <- as.POSIXct(eth302_takeoff$time, format = "%Y-%m-%d %H:%M:%S", tz="GMT")
eth302_takeoff$time_EAT = with_tz(eth302_takeoff$time, tzone = "Africa/Addis_Ababa")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment