Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Make a World Clock App That Converts Between Time Zones
Copy link
Facebook
Email
Notes
More

Make a World Clock App That Converts Between Time Zones

Daily Coding Tip 284

Type Safely's avatar
Type Safely
May 02, 2023
∙ Paid

Share this post

Type Safely
Type Safely
Make a World Clock App That Converts Between Time Zones
Copy link
Facebook
Email
Notes
More
Share
close-up photography of gray concrete clock towers
Photo by Chandler Hilken on Unsplash

It’s pretty easy to access what time zones the system is aware of by accessing TimeZone.knownTimeZoneIdentifiers.

It would probably be more useful if it was an array of TimeZone values, since these have identifier as a property but can also be used in a DateFormatter. The initialiser for TimeZone that takes an identifi…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More