• pelya@lemmy.world
    link
    fedilink
    arrow-up
    550
    arrow-down
    1
    ·
    1 year ago

    YYYY-MM-DD is the only acceptable date format, as commanded by ISO 8601.

  • Provoked Gamer@lemmy.ca
    link
    fedilink
    arrow-up
    119
    arrow-down
    10
    ·
    1 year ago

    DD/MM/YY and YY/MM/DD are the only acceptable ones IMO. Throwing a DD in between YY and MM is just weird since days move by faster so they should be at one of the ends and since YY moves the slowest it should be on the other end.

    • BZ 🇨🇦@lemm.ee
      link
      fedilink
      arrow-up
      36
      arrow-down
      2
      ·
      1 year ago

      I’m not kidding when I ask: are there really a lot of people using MM/DD/YYYY??

      • CM400@lemmy.world
        link
        fedilink
        arrow-up
        33
        ·
        1 year ago

        I think most Americans do. Or at least it was taught that way in school when I was growing up. Maybe it’s because of the way we speak dates, like “October 23rd” or “May 9th, 2005”.

        Regardless, the only true way to write dates is YYYY-MM-DD.

      • clif@lemmy.world
        link
        fedilink
        arrow-up
        17
        ·
        1 year ago

        Pretty much every American I’ve ever met. Dates on drivers license, bank info, etc - all in MM/DD/YYYY … or even just MM/DD/YY

        I regularly confuse people with YYYY-MM-DD

    • paultimate14@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      3
      ·
      1 year ago

      If you use DD/MM/YYYY, dumb sorting algorithms will put all of the 1sts of every month together, all of the 2nds of every month together, etc. That doesn’t seem very useful unless you’re trying to identify monthly trends, which is fundamentally flawed as things like the number of days in the month or which day of the week a date falls on can significantly disrupt those trends.

      With MM/DD/YY, the only issue is multiple years being grouped together. Which may be what you want, especially if the dates are indicating cumulative totals. Depending on the data structure, years are often sorted out separately anyways.

      YYYY/MM/DD is definitely the best for sorting. However, the year is often the least important piece in data analysis. Because often the dataset is looking at either “this year” or “the last 12 months”. So the user’s eyes need to just ignore the first 5 characters, which is not very efficient.

      If you’re using a tool that knows days vs months vs years that can help, but you can run into compatibility issues when trying to move things around.

      The ugly truth no one wants to admit on these conversations is that these formats are tools. Some are better suited to certain jobs than others.

    • takeda@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      4
      ·
      1 year ago

      The only reason they place month as first is because it is fits how dates are read in English, but that’s not a good reason to keep that format.

      • HeckGazer@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        You only think it fits with how it’s read in English because that’s how you grew up saying it so it sounds natural to you. Your experience is not universal, and is in fact, a minority.

      • sobanto@feddit.de
        link
        fedilink
        arrow-up
        11
        arrow-down
        4
        ·
        edit-2
        1 year ago

        It’s how it is read in English (simplified) aka american english. Brittish english doesn’t do this nonsense, the talk in the correct format (first of january etc.).

        (I’m sorry if i made some mistakes, english is my second language)

    • bleistift2@feddit.de
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      11
      ·
      1 year ago

      I grew up with DD.MM.YYYY. But I think, MM/DD makes sense in everyday usage. You don’t often need to specify dates with year accuracy. “Jane’s prom is on 7th September” – it’s obvious which year is meant. Then it’s sensible to start with the larger unit, MM, instead of DD.

      Even in writing you see that the year is always given like an afterthought: “7th September**,** 2023“.

    • jzb@lemmy.ml
      link
      fedilink
      arrow-up
      23
      ·
      1 year ago

      Came here to say this. I try to name all my docs in the YYYY-MM-DD-descriptive-name.ext format.

      • Buttons@programming.dev
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        5
        ·
        edit-2
        1 year ago

        I can see some advantages of that.

        I’m American though, so YYYY-DD-MM is the best I can do.

        • mmagod@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          for me, the section that changes the most goes last…

          in a whole year, the YYYY never changes, the MM changes only 12 times… i never implementing the day… there’s only so many possibilities i could have had for saved files in June. i just go straight to description

    • dillydogg@lemmy.one
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      1 year ago

      I like that for files, but not for written documents. When I label things I try to use the most intuitive/least confusing way I can think of: DD mmm YYYY. This comment is posted on 23 NOV 2023, for example.

      • Corroded@leminal.space
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        I do prefer the abbreviated month with the yyyy mmm dd format. It makes things relatively easy to sort but you also don’t have to worry about confusing others if you are referring to the 10th month or day for example.

  • DeadMartyr@lemmy.zip
    link
    fedilink
    arrow-up
    100
    arrow-down
    1
    ·
    1 year ago

    YYYY-MM-DD (honestly without dashes) is the only helpful format.

    If you name all your files with this as a suffix then your files automatically sort versions of themselves in order when sorting by name.

  • darkbaron202@lemmy.world
    link
    fedilink
    English
    arrow-up
    48
    ·
    1 year ago

    It actually makes sense when you put YYYY/MM/DD in filenames as they will be sorted pretty neat (ex: reports)

  • bitwolf@lemmy.one
    link
    fedilink
    arrow-up
    47
    arrow-down
    1
    ·
    1 year ago

    It is arguably the best way to name large sets of indexed files on a filesystem.

  • Gabu@lemmy.world
    link
    fedilink
    arrow-up
    49
    arrow-down
    3
    ·
    1 year ago

    This meme implies there’s an equal battle between MM/DD/YY and DD/MM/YY, which is nonsense. Much like imperial units, only 'murica uses MM/DD/YY.

        • rdri@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          In a text like “the research started at 2003-01-24”, or pretty much in any other text where you need to convey all 3 elements.

          I bet you also don’t say “14 07 1789”, because that’s what MM format means.

          • joneskind@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            You bet wrong

            We write AND say “La Révolution a démarré le 14/07/1789” or “La Révolution à démarré le 14 juillet 1789”

            Spoken numbered month are usually used in an administrative context, to ease the work of our contact.

            • rdri@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Oh that’s right, the spoken administrative context. Same in my dd-mm-yyyy county actually. Still, I find it less intuitive than the logical yyyy-mm-dd when understanding written text.

    • SendMePhotos@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      Fuckin wait until you hear how many feet are in a mile. You all should’ve waterboarded us harder while we were a young country.

    • Algaroth@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      We do that in Sweden as well. Our social security numbers are that plus 4 unique numbers. The beers I send out to stores have yyyy-mm-dd printed at the bottom.

      • lad@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        So no more than 10 thousands of Swedes may get an SSN at the same day (or be born at the same day even 🤔)?

        • Algaroth@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          Hasn’t been a problem so far. I’m guessing maybe they will add numbers or use letters if it comes up. They recentled started doing that on license plates.

    • LemmyKnowsBest@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      1 year ago

      You’re not wrong. through much trial and error in the 1990s I learned this was the most efficient & accurate & chronologically searchable way to date things.

  • Goldmaster@lemmy.ml
    link
    fedilink
    arrow-up
    38
    ·
    1 year ago

    Iso date format. Anything to do with photos is best to have in this format at the start of the filename.

  • lemmiter@lemm.ee
    link
    fedilink
    arrow-up
    37
    ·
    1 year ago

    I propose the use of MYDYDM format. So, October 15, 2023 will be written as 121350. Just to make it as confusing as possible.

            • SendMePhotos@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              1 year ago

              Because in short, it’s alphabetical. It will always be in order by year, then month, then day. Literally like how a clock goes HH:MM:SS it’s the same thing as YY:MM:DD the right side ticks the fastest. It’s in order by hour (year) then minute (month) then second (day). SAME SAME WHY NOT

      • Gabu@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        Because for 99.99% of all situations, you’d already know what year and month it is, so the most readily available piece of information should be the day.

        • Zanz@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          5
          ·
          1 year ago

          If you already know the year and month why write it. ISO or month day are the two most reasonable. You need to zoom in not give yourself a list of options and then randomly pick one later.