how to add year and copyright js code example
Example 1: javascript display year copyright
<script>document.write(new Date().getFullYear())</script>
Example 2: get year javascript copyright
<script type="text/JavaScript"> var theDate=new Date() document.write(theDate.getFullYear()) </script>