Are you creating a landing page or website with a copyright on it? Do you have to go in to update the year every singe New Year’s Day? What if you didn’t? I found a genius little snippet that empowers your copyright to have a perpetual date. Add this wherever you want to put the year, and you will have one less thing to on January 1st!
<script language="javascript" type="text/javascript"> var today = new Date() var year = today.getFullYear() document.write(year) </script>
Photo by Monica Sauro on Unsplash