3 ms·
Do people actually "timestamp" in local time? This seems counterintuitive, aren't timestamps essentially number of seconds passed since 1 jan 1970 00:00 utc?
by foverzar 3y ago
Do people actually "timestamp" in local time?
This seems counterintuitive, aren't timestamps essentially number of seconds passed since 1 jan 1970 00:00 utc?
- m_0x 3y agoYes, people will do anything if their systems and tools allow them to do it, either by ignorance or to facilitate them their current task. Both create tech debt and timestamp tech debt is one that is hard to pay.
- paulryanrogers 3y agoA naive CRUD may accept local times to make things easier for users, not realizing the DB needs UTC. Juniors often commit this error unless told ahead of time. Then you may have weeks or months of data that is wrong and possibly values from many zones.