Comment Comment by alberth Does this handle the special case of timezone changes (and local time discontinuity) that Jon Skeet famously documented?https://stackoverflow.com/questions/6841333/why-is-subtracti...And computerphile explains so well in their 10-min video:https://www.youtube.com/watch?v=-5wpm-gesOY---I've long ago learned to never build my own Date/Time nor Encryption libraries. There's endless edge cases that can bite you hard.(Which is also why I'm skeptical when I encounter new such libraries) parent alberth 2 years ago
https://stackoverflow.com/questions/6841333/why-is-subtracti...
And computerphile explains so well in their 10-min video:
https://www.youtube.com/watch?v=-5wpm-gesOY
---
I've long ago learned to never build my own Date/Time nor Encryption libraries. There's endless edge cases that can bite you hard.
(Which is also why I'm skeptical when I encounter new such libraries)