Created
January 4, 2022 16:51
-
-
Save townivan/8335c21cbea77c567c69acb7bc6ee65c to your computer and use it in GitHub Desktop.
Display the current year without having to manually update it each time.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span id="cdate"></span><script>document.getElementById("cdate").innerHTML = (new Date().getFullYear());</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment