jQuery – Get current year Leave a reply var currentYear = (new Date).getFullYear(); $(document).ready(function() { alert(currentYear); }); Done =) Reference: Andrew Epperson – Using jQuery: Get Current Year About these ads Pin ItMorePrintEmailDiggShare on TumblrPocketLike this:Like Loading...