How to change the copyright year automatically

Place the following code into the spot on your web page where you want your copyright date to appear:

&copy; <script type="text/javascript">
var d = new Date();
var curr_year = d.getFullYear();
</script> yourcompanyname. All Rights Reserved.

In the code above, &copy; places the copyright symbol at the beginning of the text. The javascript snippet places the current year after the copyright symbol. Replace yourcompanyname with your name or your company or organization name, which you need for a valid copyright marking.

Note that the copyright symbol protects the look of your website, not the content. The content has to be copyrighted separately. However, anyone with any sense should think twice about stealing your content if he or she notices the copyright symbol.