Description Usage Arguments Value
Returns the time difference in hours between two time zones at a given instant in time.
1 2 3 4 5 | tz_time_diff(
when = lubridate::now(),
tz.target = lubridate::tz(when),
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.