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 2319 Downloads 781

JS+JQuery Date+Time
ANmarAmdeen
627
Attachments
Revisions

v1.0