259

A perfect date for a Programmer !!

Comments
  • 11
    YYYY-MM-DD for human consumption

    Seconds since UNIX epoch (divided by number of seconds in a day) for computer consumption
  • 5
    @bugreport @nightowl @njpugh90 YYYY-MM-DD for serialization (URL encoded, etc.), MM/DD/YYYY for America or DD/MM/YYYY for other countries in UI.
  • 9
    DD mmm YYYY is imo the best and least confusing if you want it to be human readable across the globe. Like 25 sep 2018. In other formats you could accidentally switch the day and month (like 9-11 often gets confused with 9 november)
  • 4
    DD.MM.YYYY (or D.M.Y or D. month name YYYY) for humans,
    YYYY.MM.DD for machines.
  • 0
    Seconds since epoch and DD mmm YYYY are the two best suggestions I see
  • 5
    Who on earth uses dots or slashes? (Ze Germans are co-meeng!)

    Periods mean end of sentence, abbreviations or appear in a number. Slashes are division or mean 'or'.

    Either DD-MM-YYYY for mental sanity.
    Or YYYY-MM-DD for sorting sanity.

    For brevity the dashes are optional. And no, a dash (-) is not the minus sign (–).

    Time can be added too:

    YYYYMMDDHHMMSS (you know, with the superior 24 hour clock) or easier to read hh:mm:ss DD-MM-YYYY.
  • 9
    @eeee What if I wanna use 🍆 as a divisor?

    DD🍆MM🍆YYYY
  • 1
    @Gaetano96 then the month number should be expressed with so many 🍑.
  • 3
    @eeee Sounds reaaonable xD

    So today is:
    26🍆🍑🍑🍑🍑🍑🍑🍑🍑🍑🍆2018

    (?)
  • 2
    There is no acceptable ordering other than year-month-day. I don’t really care what separators you use as long as they are in the proper order.

    Most-significant to least-significant is how numbers work.
  • 1
    YYYY-MM-DD because it's sorted alphabetically by default (and because ISO 8601)
  • 1
    Unix time stamp
  • 2
    YYYY-MM-DD is objectively the best format

    It is human-readable
    It makes internal sense (decreasing significance)
    It is visually sortable
    There is no placement ambiguity
    - the year being first dictates descending order
    - it does not overlap with written date forms (which use slashes)
    It is meaningful / unambiguous when truncated
    It extends into HH:mm:ss
    It is easily computer-generated / parseable
    It is forward portable for additional months and dates
  • 1
    @madumlao Agreed, but your point about truncation doesn't stand. For normal humans, if you talk about a date and you truncate it, you generally want to keep the least significant bit. Everybody knows we are probably talking about the current year.
  • 0
    @RedPolygon if we turncate even further, we end up with just the day, or even day of the week. And this means that even X occurs each week, not some year in the past. TL;DR you're wrong.
  • 0
    @mt3o Wait, you mean removing the start of the date? I thought truncating was removing the end of something
  • 0
    @mjones44 you mean other countries outside of America?
  • 0
    @mjones44 @delc82 yes? what else would I mean lol
  • 1
    Really used to YYYYMMDD right now. No need for fancy dashes or dots.
  • 0
    No wonder he's confused. You can't die Float.
  • 0
    Hey, We are glad you loved our programming comic. :D
  • 0
    I will die single=)
  • 2
    It's definitely about me
  • 0
    MM-DD-YYYY is how I've always done it.
  • 1
    Fixed it
Add Comment