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

Web 2.0 for SMB’s

One of the biggest trends to hit internet marketing, is “Web 2.0.” It involves blogging, social media, and much more. You may be asking, “Is this type of internet marketing…
View Post