Type Safely

Type Safely

Make a World Clock App That Converts Between Time Zones

Daily Coding Tip 284

Type Safely's avatar
Type Safely
May 02, 2023
∙ Paid
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…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture