How to automatically update the copyright year?

By Aryan Maurya / November 3, 2020

If your website is still showing “© 2019” and it should be “© 2020” then take the chance to update once and have it correct forever using one in all the code snippets below:

Current year only

&copy; <?php echo date("Y"); ?>

With start year

&copy; 2015-<?php echo date("Y"); ?>


May I Help You?