Posted By

batfan on 07/27/10


Tagged

javascript year date


Versions (?)

Get Current Year


 / Published in: JavaScript
 

Great for use in site footers.

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

Report this snippet  

You need to login to post a comment.