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

Basic Marketing Metrics Defined

Click-Through – the process of clicking through an online advertisement to the advertiser’s destination. Click-Through Rate (CTR) – the average number of click-throughs per hundred ad impressions, expressed as a…
View Post

Intro to Online Media

Banner Ad – a web graphic advertising unit, usually measuring 468 pixels wide and 60 pixels tall. Beyond the Banner – online advertising not involving standard GIF and JPEG banner…
View Post