Because in case of local timezone policy changes, in the vast majority of cases the intention is for the future event to stay constant in the local timezone, and be changed in UTC / epoch. If for example you made the mistake of storing store opening hours in UTC and translate it to local time in the UI, you will be showing the wrong time.
For appointments, you need both the datetime and the location/timezone. In case of cross-timezone appointments, e.g. virtual meetings, if there are timezone policy changes the issue cannot be resolved without rescheduling the event for some participants.
(If your datetime library handles historical information in the DB correctly, that is!)
Unix epoch is known not to be good enough for some scientific applications :-/
Like, let's say you’re measuring the time between two events, and you’re logging a stream of them. If you use Unix timestamp, the timer will jump during a leap second.
This is because a day in Unix time is always exactly 86,400 “seconds”, but an actual civil day may be from 86,399 to 86,401 seconds. (It has never been 86,399 seconds, but it “could” be.)
So you should probably be using TAI. UTC is theoretically good enough but it is inconvenient to use because of the leap seconds. Unix time is a bit broken.
It is actually very easy to use TAI. You just need a GPS receiver. TAI is a fixed offset from GPS time (TAI = GPS + 19 seconds).
Time smear is an interesting concept. Once enough of the world’s clocks are synced to online sources, I wonder if we should consider using that kind of idea to smear away daylight savings time over the whole year. Not sure it’s a great idea, but maybe it would be possible to set the sunrise to be 7am every day.
Some years ago I sketched a way to do smoothed DST based on when the sun rises. The trick is to avoid time zone differences due to differences in latitude (as well as longitude). I chose to use sunrise at the nearest tropic as the benchmark, which gives you a gradual DST adjustment of about an hour and a half between winter and summer, changing by up to a minute or two each day. http://catless.ncl.ac.uk/Risks/search?query=Sunrise+time+Fin...
RISKS is one of the oldest mailing lists, since 1985, worth subscribing if you have an interest in computer systems security.
Also, why stop at sunrise, and discriminate against sunset? Do what the Romans did: always have 12 hours between sunrise and sunset and 12 between sunset and sunrise (https://en.wikipedia.org/wiki/Roman_timekeeping#Variation) :-)
12 hours of sun is a crazy idea, now that's some time smear. It'd be funny to try that in Iceland or Svalbard, where you'd end up with days where 12 hours are divided into 10 minutes... or worse, some days with no hours at all!
If you really want to complicate things, a real “7 ‘o clock at local sunrise” clock should also be affected by local mountains.
If you really, really want to complicate things, include cloud cover, too, an require that sunrise must be observed (Muslims require that for the new moon to determine the end of Ramadan (https://en.wikipedia.org/wiki/Ramadan#Eid))
The rest of that is hilarious. I have no interest to complicate things in those ways, but if you think those are good ideas, you should go for it! Propose them to your local government and try to get them to switch.
You can try different times on this page, for one:
Everybody would have to know what location a meeting is scheduled in. “An hour after sunrise in London” would be the same for everyone, but if you also meetings “two hours after sunrise in Madrid” and “three hours after sunrise in Paris”, how much time there is between them will vary during the year.
Most people would have their clocks/watches/devices display regional time, or both regional and world time.
Things like business hours, school hours, meal times, regional transit schedules, and other things that mostly just involve coordinating with people in the region would use regional time.
For most people in a region, this would allow them to operate on a schedule that involves waking naturally to the brightening morning instead of using an alarm. It would also mean that all of the extra daylight hours that come with the summer would end up at the end of the day, instead of some of them going before you go to work or in more northern places even before you wake up.
So sunset at noon?
Why do we adjust time, and not geometry (given that geometry changes anyway because of shifting of tectonic plates)?
(By geometry I mean coordinates of objects like buildings, landmarks, etc.)
That’s more than 1000 times slower than leapsecond-related drift
We do, however, take plate movement in to account when determining positions of things on the surface. Geodesic coordinate systems periodically publish 'Datum' that are the result of new surveys of positions. In some places, such as Australia, the difference a decade can make is pretty large. Other places, not so much.
With your proposal, time handling would be slightly simpler, but every geographic coordinate everywhere would need to be tagged with a date to let you know which epoch it was relative to, or else you would get huge (in local terms) errors.
e.g. UTC still has leap seconds kludged in from time to time "because the Earth's rotation speed varies in response to climatic and geological events" [1]. There's been talk of redefining it at some point to remove them.
GPS Time or Precision Time Protocol may be suitable when you need to measure events on a continuous scale.
Leap smeared time used by Google and AWS is also an interesting topic [2].
[1] https://en.m.wikipedia.org/wiki/Leap_second
[2] https://developers.google.com/time/smear