Skip to content

Instantly share code, notes, and snippets.

@nickbosch
Created January 17, 2018 02:41
Show Gist options
  • Save nickbosch/ca8758ee36862de01e497aa0065a20eb to your computer and use it in GitHub Desktop.
Save nickbosch/ca8758ee36862de01e497aa0065a20eb to your computer and use it in GitHub Desktop.
Output the current year
<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