Last active
February 15, 2019 10:48
-
-
Save verajosemanuel/5c31702914ff2e121750fbe6fab9ae21 to your computer and use it in GitHub Desktop.
#Excel time to GMT time in #R #timeseries #wrangling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df$date_d1 <- as.character(as.Date(as.POSIXct((as.numeric(as.character(df$date_d1)) * 86400), origin = "1899-12-30", tz = "GMT"))) | |
# using janitor | |
janitor::excel_numeric_to_date(17933) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment