• finitebanjo@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    10 hours ago

    More of a front end issue actually, almost all time is just stored as the number of seconds since 00:00:00 Jan 1 1970.

    • Croquette
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      And it’s represented as a 64 bits value, which is over 500 billions years.

        • Croquette
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          2 hours ago

          This is for a 32bits encoded epoch time, which will run out in 2038.

          Epoch time on 64 bits will see the sun swallow Earth before it runs out.

        • bss03@infosec.pub
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 hours ago

          We’ve still got time to fix it, and the next release of Debian will likely have a time-64 complete userland. I don’t know the status of other “bedrock” distributions, but I expect that for all Linux (and BSD) systems that don’t have to support a proprietary time-32 program, everything will be time-64 with nearly a decade to spare.