Timezone set: sets a user defined time zone
set_timezone(df, tz = "UTC", col_datetime = "DateTime")
df | a dataframe containing a datetime column |
---|---|
tz | timezone (default: "UTC") |
col_datetime | name of the datetime column (default: "DateTime") |
returns data frame with specified 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.