Date date = formatter.format("YYYY-MM-DD");

Hmm, coding all day did affect my dating preference 😂

  • 0
    I prefer DD-MM-YYYY. Other dates could be confusing 🤔
  • 1
    @pavolhalas YYYY-MM-DD is the best option to represent dates, because the "descending" order. DD-MM-YYYY can be confusing when DD && MM <= 12, because some countries uses MM-DD-YYYY.
  • 1
    @maushax Well that means MM-DD-YYYY is confusing. Also you COULD have YYYY-DD-MM so watch out.

    Now this post was about dating, so lets just remember that @creativeJuice managed to get 2 dates in one single line.
Your Job Suck?
Get a Better Job
Add Comment