Filesystem timestamps
Posted Oct 21, 2011 0:13 UTC (Fri) by
giraffedata (subscriber, #1954)
In reply to:
Filesystem timestamps by magila
Parent article:
Time zone database attacked but finds a new home
If you want to be really pedantic the one sane way to store timestamps would be using TAI. Using a discontinuous time standard (UTC) as the system time has been, and will continue to be, a major source of ugliness.
A continuous time standard (TAI) would be ugly in other ways, and I believe on balance more ugly.
If we could get people to stop living their lives by sunrise and sunset and abandon the discontinuous time scale they use in all other aspects of their lives, then TAI would be a good clean fit for timekeeping in computers.
Incidentally, Unix doesn't use UTC except to specify the epoch.
(For those who don't know what we're talking about: UTC expresses time in year, month, day, etc. and every so often, with no pattern, a minute has 61 seconds so that all years start with the earth oriented the same way toward the sun. TAI is a simple ever-increasing seconds value, so there's no sun alignment issue and no place to insert leap-anything.
The Unix time standard is like TAI in that it's just a seconds value,
but like UTC in that it just stops incrementing for a second every time a UTC minute has a 61st second. The point of that is to make it easier to convert to UTC, and do time arithmetic.)
(
Log in to post comments)