Auto Update Copyright Tag

It seems like outdated copyright tags in the footer of Websites are becoming an increasing issue online. Here are a couple of basic ways to make the tag dynamic to always display the correct information and updated year.

1. JavaScript (Current Year)

2. JavaScript (Original Year – Current Year)

2009-

3. PHP (Current Year)

< ?php echo "© ".date("Y"); ?>

4. PHP (Original Year – Current Year)

2009-< ?php echo "© ".date("Y"); ?>

With a little script implementation, everyone can keep their copyright tags up to date and avoid any unnecessary embarrassment.

You May Also Like

Affiliate Marketing Basics

With the economy changing every day, more people are turning to affiliate marketing.  Below are some basic terms to help those interested in affiliate marketing better understand the industry. Affiliate…
View Post