how to update year dynamically in javascript code example
Example 1: get year javascript copyright
<script type="text/JavaScript"> var theDate=new Date() document.write(theDate.getFullYear()) </script>
Example 2: automatic get year for copyright html
php echo date(Y);?>