Skip to content

Instantly share code, notes, and snippets.

@bcullen
Created March 18, 2013 19:47
Show Gist options
  • Save bcullen/5190232 to your computer and use it in GitHub Desktop.
Save bcullen/5190232 to your computer and use it in GitHub Desktop.
Replace current copyright year (example: <span id="year">&copy; 2013</span>)
$("#year").text( (new Date).getFullYear() );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment