This Year

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

<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 705 Downloads 228

'Year', 'date', 'this year', 'active year', 'script', 'copyright', 'coded', 'designed'

ANmarAmdeen
448
Attachments
Date+Time JS+JQuery
Revisions

v1.0