CakePHP 4: Display 4-digit year in date

Default display for dates appears to to mm/dd/yy. Where do I go to change the default display to mm/dd/yyyy so that, for date 9/24/20 I get 9/24/2020?

If you want to do it across the board of your website you can change the default in the config/app.php as explained here: -


1 Like