Update your copyright year automatic on website

Most Of the website owners/web designers forget to update the copyright year on there websites.
Write following line of PHP code in footer next to copyright text, for all websites copyright year will be in footer.php or footer.asp file. After adding the following line of code, save the file and see on front end year will be changed. Don’t worry every year to change the copyright year.

In the above code we are using date() function to change the year.