Hacker News new | ask | show | jobs
by Humphrey 311 days ago
I've been working as a software dev for over 20 yrs and not really ever got caught in the precise moment issue that the author is talking about. You just need to pick the correct datatype for the kind of thing that you want. Eg

Eg, in Python

year = int

month = str (yyyy-mm)

day = naive date

exact moment = timezone aware datetime