format_times: Format times

View source: R/format_times.R

format_timesR Documentation

Format times

Description

Create a character vector with meeting start and end times in different time zones.

Usage

format_times(meeting_date, start_time, end_time, tzone, tzones)

Arguments

meeting_date

The date of the meeting in ISO 8601 format (i.e., "YYYY-MM-DD")

start_time

String with the start time in the time zone tzone. Use 24-hour time. (I.e., "13:00" not "1:00 PM").

end_time

String with the start time in the time zone tzone. Use 24-hour time.

tzone

the time zone that the start and end times are in see the link in tzones for names to use.

tzones

The time zones you wish to display. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for time zone names you can use.

Examples

format_times("2021-07-02", "7:00", "9:00", "America/Los_Angeles",
 c("America/Los_Angeles", "America/New_York", "Europe/London"))

khumph/concat documentation built on March 19, 2022, 11:49 p.m.