Girl: What's your idea of the perfect date?

Me: dd/mm/yyyy, others formats are confusing

Me: Wait where are you going

  • 30
    YYYY-MM-DDaHH-MM-SS is the only acceptable
  • 25
    dd-mm-yyyy hh:mm:ss

    THE best date format
  • 3
    mm/dd/yyyy btw :p
  • 18
    Using a human readably date is for normies. I prefer unix timestamps :D
  • 2
    mm/dd/yyyy is way better
  • 8
    There are 3 ways to write dates; there's the perfectly rational and logical way, the American way, and the ISO which is the first option reversed that nobody uses anyways.
  • 9
    What about:


    - %Y stands for one number of the last year
    - %M stands for one number of the following month
    - %D stands for one number (09, two numbers) of SQRT((CURRENT_DAY^7)/3)
    - %h stands for one number of the hour next evening(12h system)
    - %% stands for either 7 or 3, 7 means that the hour(%h) is a.m., 3 means that the hour is p.m.
    - %m stands for the minute the next solar eclipse will happen
    - %s stands for one number of the second you will hate yourself to have this system implemented.
  • 5
    Seconds since the Unix Epoch (1 January 1970). All other human-useful time formats can come from this.
  • 8
    This is why I love devrant. Can't remember the last time I saw an honest-to-god debate about time stamps. 😂
  • 1
    poor mm/dd/yyyy :,)
  • 4
    So with ISO your can sort dates perfectly, with the American system you can at least sort by month and day. With the European system you get smugness? Are there any real advantages besides "this is how Europe does it?"
  • 8
    @WDot Europe uses ISO. People usually don't, but it's the official standard in the EU, used by many governmental organizations.

    I tend to either use ISO or human-readable phrases ("2 days ago") when representing dates, depending on context.

    The problem with dd/mm/yyyy is that people could think you're using US format.

    ISO is unambiguous, friendlier than unix timestamps, and precise. Using phrases is less precise, but the friendliest format possible and timezone independent.
  • 2
    yyyymmdd easy parseable and even compared as text or number. Just need to be sure to add trailing 0s to years month or days
  • 9
    Y-m-d H:i:s or timestamp for storing, d/m/Y for output because fuck it's damn logic
  • 0
    @mgnrfk welcome to devRant!
  • 1
    smaller units on the right, it's only common sense. easy to increment and sort that way
  • 1
    Why is no one including time zone offsets? RFC3339 all the way!
    Totally unambiguous, human-readable, sortable, lots of library support.
  • 0
    SWATCH masterrace
Add Comment