This Year

A quick JS way to get the year of today, a method found it online, and wanted to preserve it.
Update 2023-12-26: Found better, shorter and simpler way to apply to do that.

CodeFunctionName
What is this?

Public

Tested

Imported




Copyright © 2017 -
<script >document.write (new Date ().getFullYear ()); </script >
BoldCodes.com



<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 4,040

Downloads 1,405

CodeID
DB ID