Please enable JavaScript.
Coggle requires JavaScript to display documents.
Handling Time (Falsehoods (http://infiniteundo.com/post/25326999628/falseh…
Handling Time
Falsehoods
http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
http://www.i-programmer.info/babbages-bag/391-dates-are-difficult.html
https://unix4lyfe.org/time/
http://www.creativedeletion.com/2016/04/29/programmers-know-dates.html
http://www.dadhacker.com/blog/?p=1585
Time zones
Not always a round number of hours
TZ World Shape
Users are not in your time zone
Varying time shift
DST
Moving database
Inconsistent
Problem of overlapping dates
Inexact time
Leap years
Leap seconds
Working with tested libraries
Python
stdlib
pytz
dateutil
JS
Moment
Clocks
GPS
Clocks are not in sync
Timestamp
Useful for a moment
Disastrous for a date
Limited representations
Year 2038 problem
Storing dates as datetime