Description Usage Arguments Value Examples
Timezone_conversion converts a specified time in city1 to the time in city2.
1 | tz_conversion(city2, city1 = Sys.timezone(), time = Sys.time())
|
city2 |
name of city the user wants time to be converted to |
city1 |
name of source time city. Default is system timezone |
time |
time of source time city, format YYYY-MM-DD HH:MM:SS. Default is system time |
time in desired city
1 2 | tz_conversion("Singapore")
tz_conversion("Cape_Town", "Singapore", "2017-07-03 20:00:00")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.