Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Farmatique/93183d0ce548c0d45f42d37746beac51 to your computer and use it in GitHub Desktop.
Save Farmatique/93183d0ce548c0d45f42d37746beac51 to your computer and use it in GitHub Desktop.
Add dynamic full year pure js
//you can put that inside any html-element
<script>document.write(new Date().getFullYear())</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment