3 ms·
My birth certificate has location, day, year, hour, and minute of birth. Birth is an event in time, perfectly represented with a (UTC) timestamp.
by nomel 2y ago
My birth certificate has location, day, year, hour, and minute of birth. Birth is an event in time, perfectly represented with a (UTC) timestamp.
- Merad 2y agoYour birth is an event that happened at an instant in time, but very few systems concern themselves with that detail. The vast majority need to store birth _date_ and have no interest in the time or location.
- nomel 2y ago> have no interest in the time Setting the bottom couple of bytes to zero achieves this, while maintaining nearly universal consistency with all other events in time that might need to be related with a packing of bits. People do it because it's what's being used at nearly every other level of the stack.
- cryptonector 2y ago> Birth is an event in time, perfectly represented with a (UTC) timestamp. That's not the same thing as `time_t` though. `time_t` is UTC. UTC is not `time_t`.