Timezone change: changes time zone to user defined time zone

change_timezone(df, tz = "UTC", col_datetime = "DateTime", debug = TRUE)

Arguments

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)

Value

returns data frame with changed time zone

References

Check possible "tz" arguments in column "TZ*" of table https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for more details.