Keep your website up to date with the current year with this jQuery Current Year snippet which is particularly useful for showing the current year for Copyright purposes:- <div>Copyright © <span class=”currentyear”>Year</span></div> <script> jQuery(document).ready( function($) { currentyear = new Date().getFullYear(); $(‘.currentyear’).text(currentyear); }); </script> view raw jQuery Current Year hosted with ❤ by GitHub Simply ensure that you have added the …