dd/mm/yyyy vs dd/MM/yyyy?
It’s because mm is for minutes, not months. More in the documentation. Just about the time you were asking your question the newer java.time package was added to the standard Java library. These days, you’d probably use that as shown in Arvind Kumar Avinash’s answer. But the same thing applies to the formatter there, mm … Read more