JavaScript Copyright Year Update

Below small JavaScript code snippet can be used to update copyright year in any web application. Just add below code in you footer section. (Thanks to Helen for suggesting this option in the comments.)

<p>Copyright &copy; <script language="JavaScript" type="text/javascript">
document.write((new Date()).getFullYear());</script> My Company Name</p>
In case you don't want to use client side date object you can always initialize your JavaScript variable from a server side value.

Just copy the below code and go to "Design" > "Edit Html", and add the code below to the blogger template footer section. (If you are using blogger templates then search for [id='footer-wrapper'])

<p>Copyright &copy; <script language="JavaScript" type="text/javascript">
document.write((new Date()).getFullYear());</script> My Company Name</p>