A Time Zone Converter Script Command for Raycast

Alex Jones
2 min readJan 23, 2023

To make it easier when working with people around the globe.

I’ve just published my first script command: Time Converter, which takes a time (local to your machine), one or more locations, and pastes the time for each time zone.

A screenshot that shows the Raycast interface, with the command for the Time Zone converter script with the values ‘3 PM’, ‘NYC, London, Kolkata’ and ‘list’.
A screenshot of the command in action

Examples

Examples typed in US Central Timezone:

3 PM NYC, London, Kolkata list

This is interpreted as a command to output the times in New York City, London, and Kolkata that match 3PM (I’m in US Central) as a list”, which returns:

• 4:00 PM - NYC
• 9:00 PM - London
• 2:30 AM - Kolkata

3PM NYC, London, Kolkata inline

“Output the times in New York City, London, and Kolkata that match 3PM my time, inline”returns:

4:00 PM NYC / 9:00 PM London / 2:30 AM Kolkata

10AM (nothing else specified):

This will output the times for the default cities (Austin, TX, London, Sofia, Bulgaria in the default inline format) returns:

10:00 AM Austin / 4:00 PM London / 6:00 PM Sofia

The command understands both 24-hour and 12-hour notation (the latter AM/PM or am/pm), with or without minutes as well as “fuzzy” times, such as “now”, “in an hour”, or…

--

--

Alex Jones

I lead multi-disciplinary, globally distributed teams that craft remarkable products for millions of people. I start fires (the good kind).