Timezone set: sets a user defined time zone

set_timezone(df, tz = "UTC", col_datetime = "DateTime")

Arguments

df

a dataframe containing a datetime column

tz

timezone (default: "UTC")

col_datetime

name of the datetime column (default: "DateTime")

Value

returns data frame with specified 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.