Tip: Updating Copyright Information on your Website

Posted on January 16th, 2008
By Todd Zeigler in Design, Sites, Tips

scale

Just about every professionally done website you visit includes a copyright date at the bottom of the page. Every January you see websites that forget to update the year in their copyright statement. Many actually fall years behind before catching it and updating the dates. Above is an example of this phenomenon from the website of the Democratic National Committee.

We’ve made this mistake ourselves plenty of times. It is just something that is really easy to forget to do. That is why the best solution is to automate in the process instead of manually updating it every January. Here are two simple ways to accomplish this that our design/production department uses:

(1) If you are working in PHP (like sites in Wordpress and Drupal), use the simple PHP code below to render the copyright date in your footer. The date will automatically change at 12:01 am on January 1 every year.

<?php echo date(’Y'); ?>

(2) If your site is in plain HTML or another language, you can use the following JavaScript to generate the date.

Put this code in the site header:

var date=time.getDate();
var year=time.getYear();
if (year < 2000)
year = year + 1900;

Then place this code where you want to generate the date:

<script language=”JavaScript” type=”text/javascript”>document.write(year);</script>

Two easy ways to save yourself some time/headaches.

| Trackback URL |

Comments are closed.

about this blog

The Bivings Report (TBR) is a source of news, insight, research and analysis on the web-based communications industry. TBR content is posted, created and managed by internet strategists, media/communications analysts, web developers, designers and programmers, all of whom are employees of The Bivings Group.

Search Site

Archives

2008
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov  
2007
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov Dec
2006
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov Dec
2005
Jan Feb Apr May Jun Jul
Aug Sep Nov Dec    
2004
Jan Feb Mar Apr May Jun
Jul Aug Sep Nov Dec  
2003
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov Dec
2002
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov Dec
2001
          Dec

RSS feed RSS feed
RSS feed Facebook
RSS feed Follow on Twitter

Email Subscription


Delivered by FeedBurner

Collaborate

Send Tips Send Tips
Wiki Wiki

Authors

Tags

Most Popular Posts

Blogroll