Auto-updating copyright year in footer with PHP April 13, 2014 date, howto, php HomepageBlogSoftware Engineering PHP logoUsually we visit some pages in which the year in the footer isn’t the current year. This recurrent problem can be easily solved replacing the current-year-place with this PHP code:<?php echo date("Y"); ?>Simple as milk.