get year footer html code example
Example 1: javascript code for year in html
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>
Example 2: automatic get year for copyright html
©<? echo date(Y);?>
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>
©<? echo date(Y);?>