When I develop Java, I forget how to use it when I want to return today's date lightly If you think about it, it's a simple date format like a class name Date date = new Date(); // Return today's date to Date type String format = "yyyy-MM-dd"; // Year(4)-Month(2)-Date(2) Format SimpleDateFormat df = new SimpleDateFormat(format); // Simple Formatter with Formatting to Return String str = df.forma..