Archive for January, 2010

Update Copyright Year in Your Website

First of all I wish you Happy New Year 2010 to all readers of Search Engine City.

Now it’s a time to update Copyright Year in your website. Year 2009 already completed, so you should update your Copyright (©) year 2010 instead of 2009 in the footer of your websites.

If you have fewer pages in your website then you can update your Copyright year manually or if you have large website then you should do it through program.

Here I found some of programming code to update your copyright year automatically every year in your websites.

I am not sure that which programming code is suitable for your website, so I suggest to ask your web developer before implementing any code in your website.

Javascript

Copyright © xxxx
<script language=”JavaScript”>
var d=new Date();
yr=d.getFullYear();
if (yr!=xxxx)
document.write(”- “+yr);
</script>

And replace xxx with the first year your website was published.

PHP

Copyright &copy; <?php date(”Y”); ?>

Classic ASP/VBscript

Copyright &copy; <%= year(date) %>

I hope this post will helpful to you for updating your copyright year in your website.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]