You can automatically refresh the copyright year by inserting a simple JavaScript or PHP script (see below) into your website’s HTML code. Entering either script won’t change the year in the Design view of your html editor. Current year only With start year Start date with error protection Usage: