Create an auto updating copyright Notice!
Posted: Mon Mar 27, 2006 7:22 am
Just copy and paste the following script in the bottom of your webpages, it will automatically keep your copyright notice updated.
Code: Select all
<script language="JavaScript">
<!--
function y2k(number) { return (number < 1000) ? number + 1900 : number; }
var today = new Date();
var year = y2k(today.getYear());
****.write('© '+year+' site.com- All Rights Reserved');
//-->
</script>