Skip Navigation
245 comments
  • not a programmer myself, but actually fuck you, UTC was the correct choice, anything that isn't UTC is a wrong choice, and i will literally fight to my death over this.

    Timezones are dumb and stupid, and you cannot convince me otherwise, so far the single best argument i've heard is "well actually, the hands on a clock and the numbers themselves roughly represent the cycle of the sun in the sky during the day." Which is pretty good, until you realize that clocks tend to be circles, and you can often just rotate them. And suddenly, the numbers now match up perfectly. But i've also never once heard of someone caring about that specific feature, so uh. Good riddance frankly.

    Timezones kind of made sense back in the day, when the sun was the only realistic timing system, and pre internet, when people stayed where they were. But now that people don't do that, and the internet tends to do this thing where it exists. I refuse to believe it makes more sense to have timezones than not.

    "Hmmm yes please, i would like to order the time here, but halfway across the globe please" - statements dreamed up by the utterly insane.

    ok that concludes my rant. Now i'm going to go set FUCKING DAYLIGHT SAVINGS TIME on my clock because FOR SOME REASON THE TIME JUST CHANGES HALFWAY THROUGH THE YEAR FUCK YOU.

    • My man.

    • I know I'm probably not changing your mind on this but interested in how you would want the system to be? Regarding your point about being able to rotate the clock so it matches the local solar cycle, suppose we're in a place where we have 13, at the top of the clock, because that's when midnight is where we are.

      And let's say it's Wednesday 3rd April today. What happens when the clock reaches 13? After 1 second elapses, does your local clock go from Wednesday 3rd April 12:59:59 to...

      a) Wednesday 3rd April 13:00:00 b) Thursday 4th April 13:00:00

      If a) then you have the problem that the date change is now in the middle of the day, and most of the time you can't even say "what day is it today". (If 13:00 is midnight, then 00:00, when the date would roll over, would be just before noon.) You have to say today is "Wednesday/Thursday, or "3rd/4th April" because when you wake up it's Wednesday, but after lunch it becomes Thursday.

      If b) then you have the problem where it may be Thursday 4th April 13:00:00 where you live, but actually it's not midnight yet somewhere else and so simultaneously it's Wednesday 3rd April 13:00:00 there. And in fact every location has their own time at which the date rolls over and it's not even possible to interpret a timestamp unless you have a table that tells you when midnight is for each location.

      Maybe you feel that one or both of these are not really big enough of a problem, or maybe you can think of some other way of dealing with this that I haven't thought of. And yeah, both of these issues sort of happen already with timezones -- the issue in a) happens if you stay up past midnight, but at least it always happens at midnight at not when most people are awake and doing their business. The issue in b) sort of happens already since it can be Wednesday in one place and Thursday in another, but at least the timestamp would always indicate how many hours past the date rollover it is.

      • Thank you! Drives me up the wall that when people suggest this and they haven't thought it through, and that it might make other things worse.

        I'd say for everyday usability, what we have is way better. Sure, you deal with timezones, but at least once you know what time it is there you have a good sense of what part of the day they are in.

        Currently you look up the timezone, maybe do some maths (but let's be real, you just search and get given the time) and then you immediately have a good sense of what the time is there, oh cool it's 7AM.

        If we all had the same timezone: you look it up, and then you HAVE to do maths. Why? Oh their midnight is 8, and it's 15 now, so 7 hours after midnight.

        Your mind immediately has gone to oh it's 7AM, but NO, in this new reality, it's 15:00 everywhere and where you live midnight is 14:00, so that means where you live it would be like your 21:00.

        No matter what time you pick to anchor what time of day that place is, the problem persists. And now you just have replaced the problem of looking up timezones, with looking up when the sun is at some point, and then needing to convert that to get a sense of what time it is there according to the sun.

        This would be shit, when you get to a new country when travelling you have to relearn what the numbers "feel" like.

        Let's just keep what we have, this is a solved problem.

      • timezones IMO, shouldn't exist. The sun cycle is disconnected from actual physical date and time cycle. Just pick a timezone, UTC, or whatever the fuck, unix time, i don't care, DST or not, i don't care, and stick with it.

        Nothing, the next day is 00:00 You're adjusting it to match the rising cycle of the sun, not to match the day transition point which is entirely arbitrary, that would just be different. I mean, take a normal clock, flip it upside down. Does it run any differently? Nope. It's the same, it's just upside down now.

        The date time roll over would be a little weird, but then again we literally already have it. It's just not synced with the sun cycle. Ask anybody who rolls a late night schedule what they think about midnight. I mean you literally can say what day it is. The date is explicit. The date changes at night, can you say what night it is at night? It literally doesn't matter.

        The date cycling over is universal across every zone, doesn't change from one place to another. It's the cycle of the sun that changes. That's the easy part to adapt to, we've been doing it since the beginning of humanity.

        then you have the problem where it may be Thursday 4th April 13:00:00 where you live, but actually it’s not midnight yet somewhere else and so simultaneously it’s Wednesday 3rd April 13:00:00 there.

        Yeah, we already have that, it's called timezones. The day night cycle is independent from date time. To TL;DR that entire section, midnight literally just isn't a thing in that scenario. It's the date rollover point now.

        Like frankly, someone who lives in the midwest, with DST, and long days in the summer, and shorter days in the winter. None of this is a problem. We've been collectively doing this async sun cycle/date time thing for centuries. The sun here sets about 3-4 hours later in the summer, in the winter it's about much earlier comparatively. We adjust our clocks to this twice a year, every year, for every decade, for every century. Our bodies adapt to it. Nothing explodes. (even though arguably it still sucks.)

        The problem you list there specifically i think is mostly confusion about the concept of midnight not being midnight anymore, midnight is just called that because it's the middle of the night, we just happened to choose that as the point where the day rolls over. Sun rise and sun set happen at specific times, weather apps will tell you about this. Nobody seems to complain about those being incredibly variable.

        The date rollover is the same in every place in the world. You local day/night cycle is what is disconnected. I could see that potentially being annoying, but then again, we already have concepts of morning, noon, afternoon, evening, etc... I'm genuinely not sure how much this would matter in day to day life. You wake up, it's one day. You wake up the next day, it's the next day. You just happen to be awake at the point that it happens. I mean hell it probably wouldn't even bother most people. Lets say day rollover is noon in 24 hour time somewhere. You tell someone to show up 15:00 on the 8th, which is an impossible date, you just automatically go ok that's "today" everything before 12 in that scenario is the 7th, everything after is the 8th. 15:00 on the 7th literally isn't a time that can exist. It's automatically the 8th. and the advantage here, is that the date rollover point, is the same EVERYWHERE. It literally does not matter where you are on earth.

        12 is the rollover point in finland, it's the rollover point in siberia, it's the same in china, africa, america, south america, etc... The ONLY thing that has changed is the offset of the day/night cycle in relation to the date/time cycle.

    • Timezones are dumb and stupid, and you cannot convince me otherwise, so far the single best argument i’ve heard is “well actually, the hands on a clock and the numbers themselves roughly represent the cycle of the sun in the sky during the day.” Which is pretty good, until you realize that clocks tend to be circles, and you can often just rotate them. And suddenly, the numbers now match up perfectly. But i’ve also never once heard of someone caring about that specific feature, so uh. Good riddance frankly.

      This is an interesting thought:

      If we had UTC before we decided on a lot of modern standards - by whatever means we got it - I wonder whether it would have just evolved that Celts are used to the sun rising at 4-10 on the clock, but an Ainu is entirely used to the sun rising at 13-19.

  • Before timezones and trains, each town had its own natural time (based on the sun or whatever). Would you have preferred that?

    • tbf there are libraries capable of handling that too, like rust's chrono

  • If only I had a numeric type that could hold the value of how many seconds since the creation of the Universe, without overflowing, I'd be set.

  • Move to International Atomic Time timezone. clock_gettime(CLOCK_TAI, ...) and stop complaining.

  • I just discovered that while the ServiceNow APIs return all times in UTC, they use the user's default time for all times passed in as a parameter.

    So if your account is set up in PDT and you say "give me this item that I just created", it will say "here your item, this was created at 17:00".

    But if you say, "cool let me see all items created in the last hour, so anything greater than 16:00", then it will respond "got nothing for ya, chief."

245 comments