Mac and iOS development tip: Today I learned you can ask for NSTimeZone/TimeZone instance by name, and it will automatically factor in whether it’s currently daylight saving time. For example: TimeZone(identifier: “America/New_York”). Very handy for particular cases.

*****
Written on