jQuery jQuery – Get current year June 2, 2012 ykyuen Leave a comment var currentYear = (new Date).getFullYear(); $(document).ready(function() { alert(currentYear); }); Done =) Reference: Andrew Epperson – Using jQuery: Get Current Year Share this:Tweet Click to share on WhatsApp (Opens in new window) WhatsApp Click to share on Telegram (Opens in new window) Telegram More Click to print (Opens in new window) Print Click to email a link to a friend (Opens in new window) Email Share on TumblrPocket Click to share on Reddit (Opens in new window) Reddit Like Loading... Related