Erwan 🚄 is a user on hostux.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Bit concerned that ISO dates have only four-digit years. Should I manually prepend two or three zeros to my ISO timestamps?

Erwan 🚄 @R1Rail

@22 I once wrote a time calculation library which had leap year <=> y % 4 == 0
With the notice : "this library is valid from March 1st 1900 to Feb 28th 2100"
Was accepted by the QA guy.

· Web · 0 · 0

@R1Rail Thanks you’ve inspired me. I’ll just store 64-bit integers—should still sort nicely under lexicographic ordering.