Posted By

mennyj on 06/18/10


Tagged

javascript js year date copyright


Versions (?)

JS Dynamic Year (Copyright)


 / Published in: JavaScript
 

JS to dynamically update year -- good for copyright.

  1. <script type="text/javascript">document.write(new Date().getFullYear())</script>

Report this snippet  

You need to login to post a comment.