• @dillydogg@lemmy.one
      link
      fedilink
      131 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
        link
        fedilink
        English
        41 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.

    • @jzb@lemmy.ml
      link
      fedilink
      221 year ago

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

        • @mmagod@lemmy.world
          link
          fedilink
          31 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

          • lad
            link
            fedilink
            41 year ago

            I hope that the comment you answer to was ironical. >!Otherwise there’s no hope for us 😰!<

  • pelya
    link
    fedilink
    5451 year ago

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

    • clif
      link
      fedilink
      891 year ago

      “There shall be no other date formats before ISO8601. Remember this format and keep it as the system default”

    • @JohnDClay@sh.itjust.works
      link
      fedilink
      91 year ago

      Except the information is given least to most important, making verbal abbreviation difficult. Works great for file names though.

          • @CapeWearingAeroplane@sopuli.xyz
            link
            fedilink
            4
            edit-2
            1 year ago

            “I can reuse this old function if I just monkey-patch this other class to work with it, no one will have any issues understanding what’s going on”

            Edit: Thought this was the programmerhumor community. For context: A monkey-patch is when you write code that changes the behaviour of some completely different code when it is running, thus making its inner workings completely incomprehensible to the poor programmer using or reading your code.

            • @rchive@lemm.ee
              link
              fedilink
              11 year ago

              Had a coworker who used MMDDYY with no dashes. Unless you knew it was very hard to figure out, since it could also just be a number that happened to be 6 digits, too. At least YYYY-MM-DD looks like a date generally.

      • Unaware7013
        link
        fedilink
        51 year ago

        This, but all run together.

        I write files/reports to disk a lot from scripts, so that’s my preferred format.

          • Unaware7013
            link
            fedilink
            31 year ago

            Are you talking epoch? I don’t care for that mainly because it’s not human readable. I see the use for it, but I struggle with it in practical use.

      • umbraroze
        link
        fedilink
        211 year ago

        Funny thing, in ISO 8601 date isn’t separated by colon. The format is “YYYY-MM-DDTHH:MM:SS+hh:mm”. Date is separated by “-”, time is separated by “:”, date and time are separated by “T” (which is the bit that a lot of people miss). Time zone indicator can also be just “Z” for UTC. Many of these can be omitted if dealing with lesser precision (e.g. HH:MM is a valid timestamp, YYYY-MM is a valid datestamp if referring to just a month). (OK so apparently if you really want to split hairs, timestamps are supposed to be THH:MM etc. Now that’s a thing I’ve never seen anyone use.) Separators can also be omitted though that’s apparently not recommended if quick human legibility is of concern. There’s also YYYY-Wxx for week numbers.

    • @geissi@feddit.de
      link
      fedilink
      91 year ago

      For file names, absolutely.
      When I’m asking what date it is I typically know the current year.

    • @Empricorn@feddit.nl
      link
      fedilink
      English
      251 year ago

      If you have years of files named similarly with the date, you will love the ISO standard and how it keeps things sorted and easy to read.

      • @Agent641@lemmy.world
        link
        fedilink
        20
        edit-2
        1 year ago

        I have autohotkey configured to insert the current date in ISO 8601 format into my filenames on keyboard shortcut for just this reason. So organized. So pure.

          • @Agent641@lemmy.world
            link
            fedilink
            7
            edit-2
            1 year ago

            Download Autohotkey, and create a new script. Paste these shortcuts into the script and restart the script:

            #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.

            ; #Warn ; Enable warnings to assist with detecting common errors.

            SendMode Input ; Recommended for new scripts due to its superior speed and reliability.

            SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

            :R*?:ddd::

            FormatTime, CurrentDateTime, yyyy-MM-dd

            SendInput %CurrentDateTime%

            return

            :R*?:dtt::

            FormatTime, CurrentDateTime, yyMMddHHmm

            SendInput %CurrentDateTime%

            Return

            Now, if you type ‘ddd’ on your keyboard, the current date will be typed out, eg ‘2023-11-23’.

            If you type ‘dtt’ tgen the datetime stamp will be typed out in YYMMDDhhmm format, eg 2311231012

            There are so many cool things you van do with AHK to make your work more productive. For example, rather tgan typing your email address a billion times, add the shortcut:

            ::add1::your.email.address@domainname.com

            And then you can type ‘add1’ and hit space, and your email address will be typed out in full. Of course, the string ‘add1’ can be whatever you want.

        • @CoderKat@lemm.ee
          link
          fedilink
          English
          41 year ago

          We are ridiculously inconsistent in Canada. I’ve seen all 3 of the most popular formats here (2023-11-22, 11/22/2023, and 22/11/2023) in similarish amounts. Government forms seem to be increasingly using RFC 3339 dates, but even they aren’t entirely onboard.

        • @Remavas@programming.dev
          link
          fedilink
          51 year ago

          (This doesn’t consider the separator) Cyan - DD/MM/YY Magenta - MM/DD/YY Yellow - YY/MM/DD The other ones are mixes of those two colors, so e.g. the US is MM/DD/YY and YY/MM/DD (apparently).

          Also just noticed I didn’t attribute this picture, I’ll edit my comment.

      • @EnderMB@lemmy.world
        link
        fedilink
        61 year ago

        YES! I wish more people knew about RFC 3339. While I’m all for ISO 1601, it’s a bit too loose in its requirements at times, and people often end up surprised that it’s just not the format they picked…

      • @CoderKat@lemm.ee
        link
        fedilink
        English
        4
        edit-2
        1 year ago

        Huh, I’ve never noticed how much bloat was in ISO 8601. I think when most people refer to it, we’re specifically referring to the date (optionally with time) format that is shared with RFC 3339, namely 2023-11-22T20:00:18-05:00 (etc). And perhaps some fuzziness for what separates date and time.

  • kamen
    link
    fedilink
    241 year ago

    DD/MM for readability, YYYY/MM/DD for alphabetical sorting that’s also chronological.

    • @Clbull@lemmy.world
      link
      fedilink
      -33
      edit-2
      1 year ago

      Ironically, MM/DD/YYYY works better for chronological sorting than DD/MM/YYYY, so long as you don’t go between years.

      Didn’t think I’d be saying this but the Americans have an edge over us Brits.

        • @Clbull@lemmy.world
          link
          fedilink
          11 year ago

          What I said, MM/DD/YYYY is less flawed than DD/MM/YYYY for chronological sorting.

          Asian YYYYMMDD way is the best way for computing…, but the American way at least preserves the month and day structure.

      • @veni_vedi_veni@lemmy.world
        link
        fedilink
        2
        edit-2
        1 year ago

        When you search or do any stable sort, I would think you want your primary attribute to be the one with most finite values? That way you are front loading the pruning of the search space.

        So it’s actually on favor of Japanese style

      • kamen
        link
        fedilink
        141 year ago

        By this logic one might say that DD/MM/YYYY works for alphabetical chronological sort if you don’t go between months…

      • Victor
        link
        fedilink
        111 year ago

        Have another go at this train of thought, mate… You’re basically saying “MM/DD” is better at sorting chronologically than “DD/MM”, since the year part is taken out of the equation, which is already the established consensus, and not ironical whatsoever. And the ISO standard is already to use YYYY-MM-DD, so that’s the winner IMO, hands down. Japan is simply following that but using a slash as the delimiter.

  • Hovenko
    link
    fedilink
    531 year ago

    MMDDYY is just a mess. Otherwise… US problems, I don’t care…

  • darq
    link
    fedilink
    61 year ago

    Yeah but half the time is actually: EYY/MM/DD. Like this year is 令5/MM/DD.

    And some years have two values, 2019 was both 平31, from 01/01 until 04/30, then 令1 from 05/01 onwards.

    • @MisterFrog@lemmy.world
      link
      fedilink
      11 year ago

      Wat? Like their alphabet, do the Japanese have some double system?

      China does this normally. Either YYYY.MM.DD OR YYYY年MM月DD日

      • darq
        link
        fedilink
        31 year ago

        Yes, they have two date systems in common use. It’s only the year that changes though. And there’s no way to confuse the two, usually. If you write “2023” instead of “令5” it’s pretty obvious. I suppose there is a potential for confusion if one just writes a two-digit year though.

    • Karu 🐲
      link
      fedilink
      11 year ago

      Is the kanji the name of the period the year belongs to or something? That looks interesting. Where can I find out more?

  • ThePuy
    link
    fedilink
    41 year ago

    Japan I can get behind but MM/dd/yyyy is just evil, why would you sandwich days between months and years? You monster

  • kpw
    link
    fedilink
    61 year ago

    Don’t ask how they count the years tho

    • @Algaroth@lemmy.world
      link
      fedilink
      71 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
        link
        fedilink
        21 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
          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.

    • @SendMePhotos@lemmy.world
      link
      fedilink
      91 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.

        • @rdri@lemmy.world
          link
          fedilink
          01 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
            21 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
              11 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.