Skip to content

Instantly share code, notes, and snippets.


glennyboy/jQuery Current Year Secret

Last active Feb 14, 2019
What would you like to do?
jQuery Current Year
<div>Copyright &copy; <span class="currentyear">Year</span></div>
jQuery(document).ready( function($) {
currentyear = new Date().getFullYear();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.