riingo (version 0.1.0)

convert_to_local_time: Convert the POSIXct columns of a data frame to the local time zone

Description

Tiingo returns data with a UTC time zone. Often you will want to view this in your own time zone. This function converts each POSIXct column of the returned tibble to the local (or specified) time zone.

Usage

convert_to_local_time(.data, tz = "")

Arguments

.data

A tibble with POSIXct columns

tz

The time zone to convert to. The default is the local time zone.