R/timezone.R
change_timezone.Rd
Timezone change: changes time zone to user defined time zone
change_timezone(df, tz = "UTC", col_datetime = "DateTime", debug = TRUE)
df | a dataframe containing a datetime column |
---|---|
tz | timezone (default: "UTC") |
col_datetime | name of the datetime column (default: "DateTime") |
debug | print debug messages (default: TRUE) |
returns data frame with changed time zone
Check possible "tz" arguments in column "TZ*" of table https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for more details.