79703205

Date: 2025-07-16 09:31:01
Score: 0.5
Natty:
Report link

14 y.o. but no real simple answer so.

Real short answer since Java 8 is just (with the real example given in the question):

LocalDate.now().format(DateTimeFormatter.ofPattern("MM/dd/yy"));

At the time of this post it will just display: 07/16/25

You don't need anything else.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: CodeKiller