7
donuts
5y

I hate how different languages have different date.toString formats...

Just noticed this one...

Comments
  • 4
    Oh this is ok , time zones are more fucked up
  • 1
    @Jilano probably put in md instead of mmdd...
  • 0
    Languages are allowed to define the default behavior. ISO format provides standards to apply across any language. If the language you are using doesn't allow you to set format based on these standards, you should either build a library to implement the formats you need based on the standards of uses better language to code with.
  • 0
    What exactly am i missing here 202066 is i guess yyyymmdd, right? Why is it so unusual?

    Plus in terms of android we just have to use the regex to place data month or year at any place. Its in the dev hands to write date as dd mm yy or mm dd yy or any other format ( although my fav regex would be ydyd mymy,but that doesn't work)
  • 1
    @StopWastingTime android is Java. Java date.toString is yyyyMMdd. But I think I was thinking Python which yMd.

    The conversion should be 20200606
Add Comment