by mibbitier · 14y ago · 0 comments
Hmm dates... It's almost as if you'd want to just count the number of seconds/ms since some point in time. Then you can do arithmetic easily, don't have to worry about calendars, leap years, etc... :/
Converting a date to a human readable form is hard. There is no way on earth that computers should be storing dates in human calendar readable forms. They should only ever be converted to that format for display purposes. That is the lesson MS don't ever seem to learn.
No, converting a date to human readable form is the easy part.
The hard part is converting the number of seconds from some epoch into a date.
The number of seconds from some reference point is not the same as a date.