To save the effort of having to update all the copyright dates in your website footers each year the following code can be used in your footer.
PHP:
<?php echo date('Y'); ?>ASP
< %response.write("Copyright 2010- "&Year(Date))%>ASP.NET (C#)
< %Response.Write(System.DateTime.Now.Year.ToString());%>
JavaScript
<script type="text/javascript">
<!-- copyright=new Date();
update=copyright.getYear();
document.write
("Copyright © 2010-"+ update + " (Tommy Brophy) All rights Reserved.");
//--></script>