• gedhrel@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    4 months ago

    …unless it’s running software that uses signed 32-bit timestamps, or stores data using that format.

    The point about the “millennium bug” was that it was a category of problems that required (hundreds of) thousands of fixes. It didn’t matter if your OS was immune, because the OS isn’t where the value is.

    • bitfucker
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      4 months ago

      …timestamp is signed? Why?

      Edit: Oh damn, I never noticed that the timestamp is indeed signed. For anyone curious, it is mostly historical as early C didn’t really have a concept of unsigned

      • SteveTech
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 months ago

        It also allows users to store dates back to ~1902.