I get confused when ever someone asks me this. Even if I plan to master the conversion of one timezone, my friends are spread across the timezone.
I wanted to solve this problem.
I closed my eyes and visualised my skill repertoire to see what do I have at my disposal to solve this.
Cloudflare Workers struck. ⚡️
Then I immediately cracked open my laptop, not literally though, and wrote few lines of code to convert time between timezones. Got it working in a hour.
Now I begin to wonder how to use this worker.
Workers are some sort of functions that live in the cloud and can be accessed from a URL. When you visit that URL, the function gets triggered, and you get the output as HTML or JSON or anything you wish.
Not proud of this but I always have my phone around. So if I can check that time in my timezone on my iPhone, my problem is solved.
So I hooked it up to an iOS shortcut. It works like a charm.
I’m enjoying building “What Time?”. A little iOS shortcut that helps convert time from any tz to my local tz.
— Aravind Balla (@aravindballa) October 7, 2021
But as it’s on mobile, and I don’t have mobile with me always, I’ll try to adapt it so I can use on computer.
Thread of things I’ll be trying…#buildinpublic
I’ve successfully saved 8 seconds of my time every time I want to check the time in my timezone.
I have plans in the near future to build an app so that I can use it on all the devices. If you want to try the half-baked stuff, I can send you the shortcut directly.
What do you think?
See you next Tuesday 👋
Spotify - https://open.spotify.com/episode/7KqBoBekITgU6W3k47oKcz