3 ms·
Might be even worse, a lot of systems only have some sort of DateTime object that automagically includes a time component (no real way to specify date-only exce
by Falkon1313 8y ago
Might be even worse, a lot of systems only have some sort of DateTime object that automagically includes a time component (no real way to specify date-only except just using a plain string) and automagically tries to correct it based on some sort of cascade of system settings, configuration variables, application configuration, and user configuration. On a web app, those things probably exist at least on the client, server, and database, each potentially making their own attempt to 'fix' the data.
Working with dates in code is unnecessarily hard so naturally the results tend to be bug-ridden more often than not.