• TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    155
    arrow-down
    8
    ·
    edit-2
    6 months ago

    The creator of DST gets the first slap. Then the timezones asshole.

    I’m planning to do a presentation at work on how to deal with dates/times/timezones/conversion/etc in the next few weeks some time. I figure it would be a good topic to cover. I’m going to start my talk by saying “first, imagine there is no such thing as timezones or DST.” And then build on that.

    • dgmib@lemmy.world
      link
      fedilink
      arrow-up
      85
      ·
      6 months ago

      Sandford Fleming (the guy who invented time zones) actually made it easier.

      Before timezones, every town had their own clock that defined the time for their town and was loosely set such that “noon is when the sun is at its highest point in the sky.” Which couldn’t be measured all that accurately.

      If it wasn’t for Fleming, we’d be dealing with every city or town having a separate time zone.

    • Sanctus@lemmy.world
      link
      fedilink
      English
      arrow-up
      35
      arrow-down
      1
      ·
      6 months ago

      Imagine, if we were just all on the same time. It’d just make things, a little easier.

      • imPastaSyndrome@lemm.ee
        link
        fedilink
        arrow-up
        64
        ·
        edit-2
        6 months ago

        All in the same time? But… Then the sun might go down at noon. That doesn’t make sense…

        Wait… Noon? Noooon…

        The word noon comes from a Latin root, nona hora, or “ninth hour.” In medieval times, noon fell at three PM, nine hours after a monk’s traditional rising hour of six o’clock in the morning. Over time, as noon came to be synonymous in English with midday, its timing changed to twelve PM.

        Oh now that’s worse

    • Slotos@feddit.nl
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      Oh yeah, please do imagine there is no such thing as a time zone.

      On an ellipsoid!

      • TootSweet@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        7
        ·
        6 months ago

        No, see, how it would work without timezones is:

        • Everyone would use UTC and a 24-hour clock rather than AM/PM.
        • If that means you eat breakfast at 1400 hours and go to bed around 400 hours and that the sun is directly overhead at 1700 hours (or something more random like 1737), fine. (Better than fine, actually!)
        • Every area keeps track of what time of day daily events (like meals, when school starts or lets out, etc) happen. Though I think generally rounding to the nearest whole hour or, maybe in some cases, half hour makes the most sense. (And it’s not even like everyone in the same area keeps the same schedule as it is now.)
        • You still call the period before when the sun is directly overhead “morning” and the period after “afternoon” and similarly with “evening”, “night”, “dawn”, “noon”, “midnight” etc.
        • One caveat is that with this approach, the day-of-the-month change (when we switch from the 29th of the month to the 30th, for instance) happens at different times of the day (like, in the above example it would be close to 1900 hours) for different people. Oh well. People will get used to it. But I think it still makes the most sense to decide that the days of the week (“Monday”, “Tuesday”, etc) last from whatever time “midnight” is locally to the following midnight, again probably rounding to the nearest whole hour. (Now, you might be thinking "yeah, but that’s just timezones again. But consider those timezones. The way you’d figure out what day of the week it was would involve taking the longitude and rounding. Much simpler than having to keep a whole-ass database of all the data about all the different timezones. And it would only come into play when having to decide when the day of the week changes over.)
        • Though, one more caveat. If you do that, then there has to be a longitudinal line where it’s always a different day of the week on one side than it is just on the other side. But that’s already the case today, so not really a drawback relative to what we have today.
        • Ferk
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          6 months ago

          You still call the period before when the sun is directly overhead “morning” and the period after “afternoon” and similarly with “evening”, “night”, “dawn”, “noon”, “midnight” etc.

          Note that the Sun position is not consistent throught the year and varies widely based on your latitude.

          In Iceland (and also Alaska) you can have the Sun for a full 24 hours in the sky (they call it “midnight sun”) during Summer solstice (with extremelly short nights the whole summer) and the opposite happens in Winter, with long periods of night time.

          I think it still makes the most sense to decide that the days of the week (“Monday”, “Tuesday”, etc) last from whatever time “midnight” is locally to the following midnight, again probably rounding to the nearest whole hour.

          Just the days of the week? you mean that 2024-06-30 23:59 and 2024-07-01 00:01 can both be the same weekday and at the same time be different days? Would the definition of “day” be different based on whether you are talking about “day of the week” vs “universal day”?

          • TootSweet@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            2
            ·
            6 months ago

            Note that the Sun position is not consistent throught the year and varies widely based on your latitude.

            Good call. The definitions of “noon” and “midnight” would need to be formalized a bit more, but given any line of longitude, the sun passes directly over that line of longitude “exactly” once every 24 hours. (I put “exactly” in quotes because even that isn’t quite exactly true, but we account for that kind of thing with leap seconds.) So you could base noon on something like “when the sun is directly over a point on such longitudinal line (and then round to the nearest hour).”

            Could still be a little weird near the poles, but I think that definition would still be sensical. If you’re way up north, for instance, and you’re in the summer period when the sun never sets, you still just figure out your longitude and figure when the sun passes directly over some point on that longitudinal line.

            Though in practice, I’d suspect the area right around the poles would pretty much just need to just decide on something and go with it so they don’t end up having to do calculations to figure out whether it’s “afternoon” or “morning” every time they move a few feet. Heh. (Not that a lot of folks spend a lot of time that close to the poles.) Maybe they’d just decide arbitrarily that the current day of the week and period of the day are whatever they currently are in Greenwich. Or maybe even abandon the use og day of the week and period of the day all together.

            Just the days of the week? you mean that 2024-06-30 23:59 and 2024-07-01 00:01 can both be the same weekday and at the same time be different days? Would the definition of “day” be different based on whether you are talking about “day of the week” vs “universal day”?

            Yup.

            I’m just thinking about things like scheduling dentist appointments at my local dentist. I’d think it would be less confusing for ordinary local interactions like that if we could say “next Wednesday at 20:00” rather than having to keep track of the fact that depending what period of the day it is (relative to landmarks like “dinner time” or “midmorning”) it may be a different day of the week.

            And it’s not like there aren’t awkward mismatches beteen days of the week and days of the month now. Months don’t always start on the first day of the week, for instance. (Hell. We don’t even agree on what the first day of the week is.) “Weeks” are an artifact of lunar calendars. (And, to be fair, so are months.)

            (And while we’re on the topic of months, we should have 13 of 'em. 12 of length 30 each and one at the end of 5 days or on leap years 6 days. And they should be called “first month”, “second month”, “third month”, etc. None of this “for weird historical reasons, October is the 10th month, even though the prefix ‘oct’ would seem to indicate it should be the 8th” bs. Lol.)

        • HeyThisIsntTheYMCA@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          6 months ago

          regarding day change, you could also just have it change at UTC midnight and the entire planet bongs at that time if they’re awake.

          • Lifter@discuss.tchncs.de
            link
            fedilink
            arrow-up
            3
            ·
            6 months ago

            Bank holidays would be really awkward. You start wort at 23 and the next day is off so you would just have to work that one hour.

            Office workers could probably move hours around. It would get complicated for shift workers though. Paying overtime for work on holidays?

            • HeyThisIsntTheYMCA@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 months ago

              My experience is that you start work and the next day is off so you just lock the doors and keep working, but maybe there are financial institutions without backlogs idunno.

          • TootSweet@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 months ago

            Yeah. I figured the day-of-the-month change should definitely happen at UTC midnight. I kindof like the idea that a day of the week lasts from before I wake up to after I go to sleep. (Or at least that there’s no changeover during business hours.)

            But hell. If you wanted to run for president of the world on a platform of reforming date/time tracking but planned for the days of the week to change at midnight UTC, I’d still vote for you.

        • netvor@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 months ago

          No, take tHe NeW jErSeY approach. Keep the implementation simple.

          Everyone, everywhere on UTC.

          • 7:00 - Everyone wake up at

          • 8:00 - Everyone go to school/work 8:00 AM

          • 21:00 - Everyone sleep.

          We’ll figure out the logistics as we go.

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      Is this something that is going to be publicly available? If so, post a link when you have it.

  • BigMikeInAustin@lemmy.world
    link
    fedilink
    English
    arrow-up
    73
    arrow-down
    1
    ·
    6 months ago

    It’s pretty simple, actually. A village somewhere in Europe that is completely in the shade all day for part of the year has already proven it.

    Mirrors.

    We just need a ring of motorized mirrors around the Earth.

    At hour 0, the mirrors will rotate to show sun all across the entire Earth.

    At hour 12, the mirrors will rotate to put all of the Earth into night time.

    That lets the entire Earth have the exact same synchronized time synchronized with the daylight.

    The mirrors will block the sun from parts of the earth facing during the night.

    The mirrors will constantly be rotating to keep the proper amount of sun light facing each part of Earth as the Earth rotates.

    The mirrors will be solar powered.

    This will fix it, right?

    • bountygiver [any]
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      edit-2
      6 months ago

      Alternatively, we have this arbitrary standard of 9am means morning, if we share a single universal time, different places would just have a different arbitrary time being the “morning” instead.

      • mojo_raisin@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        edit-2
        6 months ago

        Or, we could collectively realize time is but an illusion and transcend this silly problem.

      • KillingTimeItself@lemmy.dbzer0.com
        cake
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        6 months ago

        i would aruge that the arbitrary factor of “9am being morning” is entirely to do with the fact that morning is actually a solar time phenomenon, whereas global time does not have the concept of morning, since it is merely imitating the local solar time.

        Local solar time being the literal point in the sky that the sun is in.

        It gets even funnier if we include people who aren’t “normal” I for one, consider noon to be morning.

      • BigMikeInAustin@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        We could keep the 0 hour as the “middle” of the night and 12 being the “middle” of the day (though I’m not sure if that’s really the sun’s high spot for the day for any places).

        But with fully controlled mirrors, we could make it exactly 12 hours, so we could just then switch to the 0 hour being when the sun comes up.

    • netvor@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      No, we should educate all devs and fix all broken time API’s,…

      wait, your solution seems far easier.

  • dannoffs@lemmy.sdf.org
    link
    fedilink
    arrow-up
    69
    arrow-down
    7
    ·
    6 months ago

    You know the system before timezones was way worse, right? Every town had their own time.

    • Crisps@lemmy.world
      link
      fedilink
      arrow-up
      27
      arrow-down
      2
      ·
      6 months ago

      That problem happened because there was no way to travel from town to town quickly so if the clocks were off nobody cared. The trains changed that.

  • randint@lemmy.frozeninferno.xyz
    link
    fedilink
    English
    arrow-up
    63
    arrow-down
    2
    ·
    6 months ago

    obligatory: https://qntm.org/abolish

    Before I read this article, I also thought it would be a great idea to get rid of timezones entirely and just use UTC for everything. To quote from the link, (please forgive me for being lazy and not formatting it correctly)

    Abolishing time zones brings many benefits, I hope. It also:

    • causes the question “What time is it there?” to be useless/unanswerable
    • necessitates significant changes to the way in which normal people talk about time
    • convolutes timetables, where present
    • means “days” (of the week) are no longer the same as “days”
    • complicates both secular and religious law
    • is a staggering inconvenience for a minimum of five billion people
    • makes it near-impossible to reason about time in other parts of the world
    • does not mean everybody gets up at the same time, goes to work at the same time, or goes to bed at the same time
    • is not simpler.

    As long as humans live in more than one part of the world, solar time is always going to be subjective. Abolishing time zones only exacerbates this problem.

    • Lightfire228@pawb.social
      link
      fedilink
      arrow-up
      17
      ·
      6 months ago

      Timezones make intuitive sense for humans

      UTC / Unix timestamps make intuitive sense for computers

      The issue is bridging the gap

      • netvor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        The issue is bridging the gap

        Yes, but the irony is that we already have the bridges, it’s just we keep jumping off of them at random places, thinking it’s the other bank.

    • _NoName_
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      6 months ago

      Eh, I think the article blows the situation out of proportion. Overall you’re still in the same situation as before. Instead you would just be looking up a timetable of sunrises/sunsets, instead of a timezone chart. It ends up mostly reframing the question from “what time is it there?” to “what time of day is it there?”. The real version of “after abolishing time zones” is “google tells me it is before sunrise there. It’s probably best not to call right now.”

      I’ve been using UTC on my own clocks without issue, and the change is not some completely reality-breaking thing - not anymore than DST. From a matter of personal perspective it just shifts what time correlates to what time of day.

      using UTC also simplifies the questions “what times can I call you at?” And “when should we have our call?” since you have the same temporal standard. Even before that, I was scheduling calls with family by stating the call would be at such-and-such time UTC.

      The biggest difference is with when the date changes, and I think that ultimately is the hardest pill to swallow, and that’s even compared to stomaching the sun rising at 2 AM. Having it change from June 5th to June 6th in the middle of a workweek, or even jumping to another month would bother alot of folks in a significant fashion.

      Ultimately it’s just a personal practice. No nation is going to abolish time zones if everyone still uses time zones. I just prefer it for various reasons.

        • _NoName_
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          6 months ago

          Between the two, months is much harder. With time, you just set your clocks to UTC. To get months fixed you need mass adoption, rewriting calendar software, etc.

          • Midnight1938@reddthat.com
            link
            fedilink
            arrow-up
            2
            ·
            6 months ago

            Bold of you to assume people will agree to having sunrises at 9am while some other country gets the privilege of getting it at the usual 6

            • _NoName_
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              6 months ago

              You’re upset that it’s sunrise at 06:00 somewhere and not that some other lucky bastard landed sunrise at 00:00?

              (that might actually happen over the ocean, I have not checked)

    • SpaceCowboy@lemmy.ca
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      6 months ago

      Yeah it’s just being angry about the fact that the Earth is rotating ball. Wanting to abolish timezones is different from Flat Earth only be degrees.

      Sure the “what time is it there?” question goes away, but it’s replaced by “what are your business hours?”

      Ultimately it will be daytime in one part of the world while it’s night in another part of the world. That will always cause problems.

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    1
    ·
    6 months ago

    I used to think this way, then it was pointed out to me that, without timezones, we’d be in a situation where Saturday starts mid-workday in some places.

    • bassomitron@lemmy.world
      link
      fedilink
      English
      arrow-up
      50
      arrow-down
      6
      ·
      6 months ago

      Yeah, timezones are absolutely helpful from a logistics and coordination standpoint. Daylight savings time, though… That nonsense needs to be eliminated. So what if it will be dark well into morning wake hours in the winter, I’d take it over dealing with the time change twice a year.

          • azertyfun@sh.itjust.works
            link
            fedilink
            arrow-up
            4
            arrow-down
            1
            ·
            6 months ago

            There are good sides to DST, such as coming home “earlier” (by the sun clock but not by the social clock) from school or work and therefore having more hours of daylight during the free time after work. These positive effects may go beyond subjective feelings. A study has shown for example that activity increases with longer evening daylight (Goodman et al., 2014) – albeit with small biological effect sizes (≈6% difference in the daily activity between the Standard Time of the year and DST, adjusted for photoperiod). Interestingly these results of the above study were culture-specific: a significant increase was mainly observed in Europe and to some extent in Australia, while no significant effects or even slightly negative effects were seen in the United States and Brazil.

            Fucking duh. This is the sticking point for me, and I am disappointed that the article doesn’t mention the effect of latitude here. Very easy for muricans to say “DST is not useful” when these fuckers never get pitch-black night before 6pm or full daylight before 6am ST.

            Brussels is on the same latitude as Calgary. ST robs every office worker of one hour of useful daylight. That’s it. That’s the whole argument for permanent DST. Businesses will not change their opening hours, so permanent ST means a net loss of one active hour in the day for every office worker. Permanent DST in Europe means someone working 9-6 would not have to drive home at night for 4 months of the year and could maybe even take the dog for a walk in the evening sun.

          • Cipher22@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            5
            ·
            edit-2
            6 months ago

            You realize there are places without it, and they’re fine, correct?

            • Zagorath@aussie.zone
              link
              fedilink
              English
              arrow-up
              9
              arrow-down
              3
              ·
              6 months ago

              Not sure what you mean. My position is that daylight saving time should be abolished entirely. You linked an article about a push to move permanently on to daylight saving. I pointed out how that is actually a bad idea.

              • Cipher22@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                4
                ·
                6 months ago

                I just linked it to show the rare piece of bipartisanship. I agree DLST should be done away with. As to which schedule to keep, I find it to be 6 of one and half dozen of another. The difference is just another nit pick someone will find excuses to argue over.

                • Zagorath@aussie.zone
                  link
                  fedilink
                  English
                  arrow-up
                  8
                  arrow-down
                  2
                  ·
                  6 months ago

                  The difference is just another nit pick someone will find excuses to argue over

                  No, it isn’t. The scientific research actually suggests that keeping DST is worse than switching back and forth. I have to admit I find that confusing, since a lot of the specific studies I’ve looked at concentrate on the effects caused by the switchover itself, but the meta-analysis doesn’t mince words:

                  In summary, the scientific literature strongly argues against the switching between DST and Standard Time and even more so against adopting DST permanently.

      • Zagorath@aussie.zone
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        4
        ·
        6 months ago

        timezones are absolutely helpful from a logistics and coordination standpoint

        They’re a downside from a coordination standpoint. If everyone was on UTC, you could say “the meeting is at 04:00” and everyone, anywhere in the world, will know when the meeting is. In the real world, you have to say “the meeting is at 2pm AEST” and then someone in AEDT will have to think “oh, that’s 3pm for me”, and someone in American EST will have to convert to UTC and then convert to their time. It’s a huge pain.

        So what if it will be dark well into morning wake hours in the winter

        That’s not something that DST does. It would be something that switching to year-round DST would do, but permanent standard time doesn’t change winter hours at all. It can mean you might have dark mornings (especially early and late summer—after the switch to DST and before the switch back to standard time), depending on how far west you are in your time zone and how far away from the equator you are. That’s the main thing DST does: swap bright mornings for bright afternoons in summer. Which is kinda silly considering it’s done at the time of year when afternoons are already bright for the longest. It’s also very harmful to public health.

        • bassomitron@lemmy.world
          link
          fedilink
          English
          arrow-up
          14
          ·
          edit-2
          6 months ago

          But… We have UTC already, so calculating the difference is a non-issue. If you got rid of timezones, you’d still end up creating it in all but name since the vast majority of business will be occurring during daytime hours around the world. For example, an office in Tokyo sending emails to their NYC office at 0800 UTC (currently 0400 EDT in NYC) wouldn’t end up getting answered for at least 3-4 hours when those employees started logging in. In other words, people would still be doing calculations in their heads to know when business hours are in that region, essentially recreating timezones.

          As for your second paragraph, I agree, and I did have it backwards, thanks for the correction. In the summertime where I live, the sun has risen by roughly 0530 and sets around 2100. In the wintertime, the sun is rising around 0700-0730 and setting around 1630-1700 at its shortest daylight hours. Like you said, staying at standard would mean in the summertime we’d have brighter mornings, but curtains and shutters exist for a reason. Personally, I think having it still be bright out at 2030 is kind of annoying.

            • bassomitron@lemmy.world
              link
              fedilink
              English
              arrow-up
              5
              ·
              6 months ago

              For some offices, tech like Teams/Outlook would certainly help, sure. But the majority of offices aren’t using that. But even still, people would do it regardless. Say you’re going on vacation and want to know when daylight hours are, you’d still be doing the same thing. Timezones may be annoying, but they ultimately make sense. We have a universal time for the planet powering the system, there’s really no reason to change it, in my opinion.

        • ryathal@sh.itjust.works
          link
          fedilink
          arrow-up
          12
          arrow-down
          1
          ·
          6 months ago

          Eliminating time zones doesn’t make scheduling meetings easier it just changes the language. Instead of figuring out what time it is elsewhere you have to remember what normal working hours are, Europe, US, and Japan aren’t all going to be available 9-5 UTC. It’s just as easy to suggest a meeting at functionally midnight without time zones.

          • yistdaj@pawb.social
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            6 months ago

            I’d argue not every job will always be 9-5, so you still get people having to explain working hours with non-UTC timezones anyway, whereas all timezone conversions are eliminated if everyone uses UTC.

          • Zagorath@aussie.zone
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            4
            ·
            6 months ago

            Yeah you’re absolutely right that it does create a tradeoff. My experience has just been that I’d usually consider it a worthwhile tradeoff. In general, the number of people who have to deal with setting meetings is lower than the number of people who attend meetings, especially when you take into account multinational companies.

            And when you’re attending a meeting, you only care about knowing what time it has been scheduled for already. It’s in scheduling that you have to work out when is going to be best for your audience, and I’m of the opinion that the distinction between “what time is this in my time zone and their time zone?” and “where does this time sit in relation to their working day?” is net neutral. With one aspect being a strict positive and the other being a net neutral (in my opinion), I think it still wins out and becomes worthwhile.

      • lud@lemm.ee
        link
        fedilink
        arrow-up
        6
        arrow-down
        6
        ·
        6 months ago

        I have never really understood why people care so much about the change.

        You will just wake up one hour later or earlier twice a year, so what? I do that multiple times a week, twice per year isn’t too bad.

        • dohpaz42@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          1
          ·
          6 months ago

          You obviously don’t suffer from a sensitive circadian rhythm. To that I’d say, lucky you. But there are plenty of people who do suffer. And by the time they finally get used to the time change, it’s time to change again. It’s vicious and disruptive; to more than just scheduling. It has a direct (negative) impact on physical and mental health.

          • lud@lemm.ee
            link
            fedilink
            arrow-up
            6
            arrow-down
            4
            ·
            edit-2
            6 months ago

            Fair enough. Personally I and many others in northern Europe (and other places far from the equator) feel depressed in winter due to the highly reduced sunlight so removing DST isn’t just as obvious as “people will feel better”, because DST at least in theory helps with that.

            Edit: lol people are really mad about this 😂

            • davidagain@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              6 months ago

              Yeah, Seasonal Affective Disorder is a recognised medical condition and its symptoms get worse the further from the equator you live. Don’t know why folks are downvoting you for having it.

    • Zagorath@aussie.zone
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      6 months ago

      Assuming you used UTC as the shared time zone, 00:00 on Saturday would start at what is today 4pm in US Pacific Standard Time. So you’d finish work at 01:00 Saturday.

      On the other hand, you wouldn’t resume work until 17:00 on Monday.

      So you’re not losing any weekend time.

    • MTK@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      6 months ago

      Fuck days! We should all just use epoch and that’s it.

      Wanna meetup at 1719853000

      Sure! What time?

      Around 900?

      Great!

      And they meetup on roughly 1.7.24 17:12:00 GMT

  • tibi@lemmy.world
    link
    fedilink
    arrow-up
    38
    ·
    edit-2
    6 months ago

    It could have been worse. The romans had the day divided into 24 hours, like we do, but the hours varied in length so that from sunrise to sunset, you would always have 12 hours.

    Imagine if that was the agreed upon time system, and we had to program that into computers.

    • SkunkWorkz@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      6 months ago

      It’s called temporal hour. Many cultures around the world had such a time system. Like in Japan they made clocks and watches that could tell temporal hours called wadokei.

    • uis@lemm.ee
      link
      fedilink
      arrow-up
      43
      arrow-down
      4
      ·
      6 months ago

      UTC is timezone too. It has leap seconds. IAT is atomic time. It is perfect.

    • Sunrosa@lemmy.world
      link
      fedilink
      arrow-up
      21
      arrow-down
      2
      ·
      edit-2
      6 months ago

      Ive been using utc personally for over a year and i use it in context of vrchat since it yields one less necessary conversion to other people’s timezones because only the offset is needed (as opposed to memorizing both offsets, which is much harder because of that nasty nasty daylight savings and its weird anomalies) but they still hate it and tell me to use a “normal” timezone lol. I had gotten 1 person to switch. And she since switched back. Shit don’t work in practicality but I’m still gonna use it out of stubbornness

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        10
        ·
        6 months ago

        Go play EVE Online. The servers used to have (still, do I think, but shorter) daily downtime that was scheduled using UTC and it led to everyone using UTC since the game server itself used that time.

      • KillingTimeItself@lemmy.dbzer0.com
        cake
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        6 months ago

        if i can’t have anything nice, you can’t have anything nice, and only the people who can’t have anything nice will have something nice >:)

      • _NoName_
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        6 months ago

        There’s dozens of us! Yeah practically it’s almost entirely an aesthetic effect. I’ve kept it that way and haven’t had any problems from it, though.

  • Fonzie!@ttrpg.network
    link
    fedilink
    arrow-up
    32
    ·
    6 months ago

    Timezones are fine to program around.
    DST is a bit of a pickle to plan around, but can be done just fine by a computer program.

    Historical dates; considering leap years, skipped leap years, and times when leap years weren’t a thing or when humanity just decided we skip a bunch of years; are the bane of all that is good.

  • ipkpjersi
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    6 months ago

    Timezones are kind of a necessary evil though, because without them then you’d have to check regions (or zones) to see if 1PM in China is the same thing as 1PM in Australia is the same thing as 1PM in Bolivia.

    • milkisklim@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      6 months ago

      Even then, 1pm in Beijing is something different than 1pm in the Tibet since all of China is technically one time zone.

  • omgarm@feddit.nl
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    6 months ago

    Inagine going back hundreds of years to convince everybody in the world to use the same time. “No I know not everybody has a clock, but if you could consider sunrise midday that would make my job in the future much easier.”

    • toddestan@lemm.ee
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      6 months ago

      The reason we have timezones is because of the railroads. Before the railroads came in, every town would have its own time, typically set so noon is the time when the sun is highest in the sky. This really wasn’t a problem, as back then it didn’t really matter that the time was different in every little burg.

      Then the railroads came in. They needed things running on a coordinated time table out of necessity, and having every town with its own time was unworkable. I’m sure the railroads would have loved running everything off of the same clock everywhere because that would be simple. But people were too used to noon being the middle of the day, so instead we got the compromise of having timezones so that the railroads can still run on a coordinated time table, but also so that noon is still approximately the middle of the day as people were used to.

      So the solution is just go back to the 1800’s and convince the railroads that timezones are actually silly and that they really should run everything based upon UTC. And if people want rail service to their town, they can just deal with not having 12PM being when the sun is highest in the sky.

      • davidagain@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        Well, UTC didn’t exist in 1800, it would have been GMT, and that might not have been too popular so soon after the war of independence. Even if you convinced all of the USA to use one time zone for the railways, it would be different elsewhere and you’d still get time zones.

        Maybe you’d get further with the project with the airlines in the first half of the twentieth century, but I’m not sure that that level of internationalism would have gone down well in a rather war torn world.

  • lugal@sopuli.xyz
    link
    fedilink
    arrow-up
    26
    arrow-down
    6
    ·
    6 months ago

    Aren’t time zones quite straightforward? You add a whole number of hours and for some a half. Compare that to a sundial on the one side and having times that don’t match your day at all on the other, I’d say it’s good

    • Zagorath@aussie.zone
      link
      fedilink
      English
      arrow-up
      33
      arrow-down
      3
      ·
      6 months ago

      You add a whole number of hours and for some a half

      Or three quarters in a few cases.

      And of course there are cases where countries spanning as many as 5 “ideal” time zones (dividing the globe into 24 equal slices) actually use a single time zone.

      And then when someone tells you the meeting is at 10:00 am, you have to figure out if they mean your time zone or theirs, and if they mean theirs, you then have to convert that to yours. Oh, but your conversion was wrong because one of you went into or out of daylight saving time between the day when you did the conversion and when the meeting took place.

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        6 months ago

        But what is the alternative? Sure, fck daylight saving. Having the date changed at noon is fucked up, too, and that’s what happens if you agree to one global time. And having countries that are too big for a time zone is fucked up as well. Russia for example actually only spans to the Ural mountains, everything to the east are colonies. Fuck states in general #nobordersnonations

        • Zagorath@aussie.zone
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          2
          ·
          6 months ago

          I personally would prefer if we all used UTC. My working hours would be 23:00 to 07:00. A Brits working hours would be 09:00 to 17:00, and a New Yorker would work 13:00 to 21:00.

          But this does have its own drawbacks. Personally I just think those drawbacks, in the sorts of real-world time-related conversations I’ve had, are less than the drawbacks of dealing with varying time zones.

          But yeah, the biggest factor is daylight saving time. Doing away with it is the number one option places that use it should take, regardless of whether one advocates for abolishing time zones or not.

          • KillingTimeItself@lemmy.dbzer0.com
            cake
            link
            fedilink
            English
            arrow-up
            6
            arrow-down
            1
            ·
            6 months ago

            im a proponent of using exclusively UTC for anything pertinent to being accurate, and then using local solar time (the sun) to refer to everything else, it has the benefit of making people look outside anyway.

          • MisterFrog@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            6 months ago

            The drawbacks are many and the benefits are few.

            Watching foreign films would be a pain, where is this in the world again, what does 19:00 mean for them? More exposition, or you just have to guess based on languag and accent.

            I need this work done by our team in XYZ country, what are their working hours? (wow, look at that, still using timezones?)

            When you arrive somewhere on holiday, now you have to get a sense of the time there. Or continually be thinking “what’s that in my home time?/what’s that in solar time”, which is why solar time just makes more sense.

            People aren’t going to stop thinking in solar time, ever. We’re hard-wired to be awake with the sun. It doesn’t matter what the numbers are, you will associate them with the sun. The question then becomes, would we rather all use roughly the same numbers (timezones, what we currently have), or different numbers (everyone using UTC).

            Using UTC solves only 1 problem, you can say verbally to someone across the world, let’s make the meeting 15:00 - but this is already easily solved by using a calendar which converts for you…

            There’s a reason we have never used a single non-solar time, it’s just worse and I think there’s a reason these posts always end up on programmer focused places on the internet. Yes, I’m sure their job is annoying, and it would be easier to not have to solve time conversion problems, but the time conversion problems wouldn’t even go away if you forced everyone to use UTC. You’d just start having to do conversions to solar time, or looking up waking hours (which is just timezones)

            This is a solved problem.

            • flerp@lemm.ee
              link
              fedilink
              arrow-up
              3
              ·
              6 months ago

              I think there’s a reason these posts always end up on programmer focused places on the internet. Yes, I’m sure their job is annoying, and it would be easier to not have to solve time conversion problems, but the time conversion problems wouldn’t even go away if you forced everyone to use UTC. You’d just start having to do conversions to solar time, or looking up waking hours (which is just timezones)

              Which is short sighted considering it is much easier to make a standardized library for converting time zones than it is to make a standard library reflecting what different time numbers mean in different places around the world. If they somehow convinced people to make the change, they would find out pretty quickly they were better off with the devil they knew.

      • Fonzie!@ttrpg.network
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        6 months ago

        I agree planning around it is stupid, but I don’t see how that affects computer programs.

        (let me clarify, this seems like an everyone-issue, rather than a developer-issue)

        • homoludens@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          6 months ago

          IMO the problem for developers is that they have to provide general solutions, so they have to cover each case all the time instead of just a singular case at a time.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      6 months ago

      you have to program a meeting that reoccurs between DST observant & non observant states in the US and australia.

      Good luck.

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        6
        arrow-down
        2
        ·
        6 months ago

        I hate to repeat myself but DST is garbage. I never said it’s good

      • Zagorath@aussie.zone
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        1
        ·
        6 months ago

        To be fair, they did say “and for some a half”.

        Though that misses the Kathmandu, Eucla, and Chatham Islands, which are all :45.

    • orbitz@lemmy.ca
      link
      fedilink
      arrow-up
      11
      arrow-down
      2
      ·
      6 months ago

      Not if the place doesn’t do daylight savings time, and not all places in a timezone will do that (least in North America) so you need extra code if they do or do not. It becomes a pain after awhile when you do it in multiple projects. Technically one extra setting but it’s still a pain to make sure it’s handle properly in all cases, especially when the previous programmer decided to handle it for each case individually, but that’s a different issue.

      Also when you deal with the times, say in .Net you gotta make sure it’s the proper kind of date otherwise it decides it’s a local system date and will change it to system local when run. Sure it’s all handled but there are many easy mistakes to make when working with time.

      I probably didn’t even get to the real reason, I sort of picked this up on my own.

      • lugal@sopuli.xyz
        link
        fedilink
        arrow-up
        5
        ·
        6 months ago

        Sounds like daylight saving is the bigger issue. Maybe not bigger but when you compare cost and benefit. I think the US uses even different start and end dates than the EU and I don’t know about the rest of the world

  • azvasKvklenko@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    3
    ·
    6 months ago

    It’s only bad when used incorrectly. Just store time in UTC and convert it to timezone of your setting to present it. Most modern languages offer a library that makes it just one more line of code. Not only it’s then clear and unambiguous, it supports all timezones.

    • dvlsg@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      6 months ago

      Doesn’t always work, especially if you need to work with any sort of calendar or recurring schedule.

      • booly@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        6 months ago

        Yeah, timestamps should always be stored in UTC, but actual planning of anything needs to be conscious of local time zones, including daylight savings. Coming up with a description of when a place is open in local time might be simple when described in local time but clunkier in UTC when accounting for daylight savings, local holidays, etc.

    • Scrubbles@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      6 months ago

      bingo. Timezones became easier when I learned that all apps and databases should have all times be in UTC. Let the UI do it’s thing and accept local time and convert it, and vis versa.

    • TCB13@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      6 months ago

      +1 for this. This is kinda the same issue with encoding, just UTF-8 everything and move on.

  • bricklove@midwest.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    6 months ago

    At least most of us don’t need to worry about time dilation caused by relatively yet. Have fun with that, space faring developers.

    • Lightfire228@pawb.social
      link
      fedilink
      arrow-up
      9
      ·
      6 months ago

      We kinda do, with GPS satellites that have to correct their clocks due to the effects of gravity and speed

      And communication with space probes

  • Zagorath@aussie.zone
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    6 months ago

    Dates and times aren’t that hard—honestly!

    Video is a lecture about how to think about dates and times, through the lens of a specific open source .NET library designed to aid with applying that thinking. It points out how most languages’ standard libraries really work against you, because they conflate different concepts. For example, an Instant (a specific point in time, globally recognised) and a LocalDateTime (a date and time in a way that is irrespective of your location—for example you might want your alarm to wake you at 8:00 am on weekdays, and still do that if you move to a different time zone), a ZonedDateTime (a date and time tied to a specific location—like if you want to say “the meeting starts at 10:00 am Oslo Time”), and an OffsetDateTime (a date and time tied to a specific UTC offset—which is not necessarily the same as a time zone, because “Oslo Time” is a time zone that doesn’t change, but its UTC offset might change if they go in or out of DST, or if a place decides to change, like how Samoa changed from UTC-11 to UTC+13 in 2011.

    These are all subtly different concepts which are useful in different cases, but most libraries force you to use a single poorly-defined “DateTime” class. It’s easier and requires less thought, but is also much more likely to get you into trouble as a result, precisely because of that lack of thought, because it doesn’t let you make a clear distinction about what specifically it is.

    His library is great for this, but it’s very worth thinking about what he’s talking about even if you don’t or can’t use it. As he says in wrapping up:

    You may be stuck using poor frameworks, but you don’t have to be stuck using poor concepts. You can think of the bigger concepts and represent all the bits without having to write your own framework, without having to do all kinds of stuff, just be really, really clear in all your comments and documentation.