3 ms·
Except it shouldn't, because when you have a leap second occur, suddenly you're off by a second. A day is a day, it's not 86400 seconds.
by CanSpice 12y ago
Except it shouldn't, because when you have a leap second occur, suddenly you're off by a second.
A day is a day, it's not 86400 seconds.
- rossy 12y agoMost operating systems and frameworks don't expose the concept of leap seconds to user code. For example, Unix time is the number of seconds since the epoch ignoring leap seconds, so a program that compares timestamps generated by time() would be correct in assuming that a day is 86400 units of time_t.