This Year

A quick JS way to get the year of today, a method found it online, and wanted to preserve it


Public

Tested

My Own Work
<div class="copyright" id="copyright">
©
<script>
document.getElementById('copyright').appendChild(document.createTextNode(new Date().getFullYear()))
</script>, Designed by <a href="https://www.invisionapp.com" target="_blank">Invision</a>. Coded by
</div>

Views 2636 Downloads 877

JS+JQuery Date+Time
ANmarAmdeen
655
Attachments
Revisions

v1.0