Haskell&#x27;s `time` (and its faster, lensier, API-compatible copy, `thyme`) handle these issues with aplomb and have been around a while.<p>You&#x27;ll also want to include timezone-series and timezone-olson for accurate TZ handling.<p><pre><code>    https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;time
    https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;thyme
    https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;timezone-series
    https:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;timezone-olson</code></pre>