Instantly share code, notes, and snippets.

What would you like to do?
Dynamic Copyright Date Example
<!-- include these in the head -->
<script src=""></script>
<script type="text/javascript">
$( document ).ready(function() {
var copyrightYear = (new Date()).getFullYear();
var copyrightVerbiage = "Tyrell Corporation. Trademarks and registered trademarks are owned by Tyrell Corporation or its subsidiaries.";
element = document.getElementById("Copyright");
element.innerHTML = "&copy;" + copyrightYear + " " + copyrightVerbiage;
<!-- include this in the body, wherever you want the copyright statement to appear -->
<span id="Copyright"></span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment