powered by
Adds times to Dates vector and sets timezone in a single function.
dtt_date_add_time(x, time, tz = dtt_default_tz())
A POSIXct vector.
A Date vector.
A hms vector of the time.
A string of the time zone.
Other add: dtt_add_units()
dtt_add_units()
dtt_date_add_time( as.Date("2001-03-05"), hms::as_hms("06:07:08"), tz = "Etc/GMT+9" )
Run the code above in your browser using DataLab