The date default to slash / divide
yyyy/MM/dd hh:mm:ss
NOTE: MM mm and case-sensitive, and not just a placeholder
Custom DateFormater
DateFormat attribute of the corresponding WebMvcProperties
Configured by WebMvcConfiguration
Date object:
Different time zones, executing the following statement Date date = new Date (); milliseconds out of the new date object in memory is the same, regardless of the number of milliseconds that time zone.
Printing is performed System.out.println (date); prints in different time zones at different times.