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

Google TV Explained

Google announced the launch of Google TV at their Google IO conference last month.  Google TV will come with Sony TVs starting this fall and will also be available as…
View Post

Location Based Google Ads

On July 31st, Google introduced location based advertising for Android and iPhone devices.  Companies will have the ability to select a local extension for display in Adwords that will display…
View Post

AOL Launches Ad Desk

AOL has launched a beta version a self-service ad tool that will enable marketers to launch and manage their own campaigns.  This application, dubbed “Ad Desk,” will sell CPM advertisements…
View Post