| tz_time_diff {photobiology} | R Documentation |
Returns the time difference in hours between two time zones at a given instant in time.
tz_time_diff(when = lubridate::now(), tz.target = Sys.timezone(), tz.reference = "UTC")
when |
datetime A time instant |
tz.target, tz.reference |
character Two time zones using names recognized by functions from package 'lubridate' |
A numeric value.