Posted By

SideProject on 02/01/11


Tagged

date copyright footer


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

maltem
wearefreya
virendrakryadav


jQuery date picker for footer


 / Published in: jQuery
 

Just wack this in the footer followed by the company name and you're copyright will always be up to date

  1. Copyright ©
  2. <script type="text/javascript">
  3. var dteNow = new Date();
  4. var intYear = dteNow.getFullYear();
  5. document.write(intYear);
  6. </script>

Report this snippet  

You need to login to post a comment.