Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 849 Bytes

ckxvj3f96022hxts109tp7lwu.md

File metadata and controls

27 lines (18 loc) · 849 Bytes
title datePublished cuid slug cover tags
It's 2022, Update Copyright Year Automatically
Sat Jan 01 2022 07:53:42 GMT+0000 (Coordinated Universal Time)
ckxvj3f96022hxts109tp7lwu
update-copyright-year-automatically
website, webdevelopment, javascript, html5

Are you ready for the new year? Is your website ready, too? The easiest way to automatically update your website static timestamp with just one line of code, yes you heard me right

Only current year

<p>&copy; Copyright<script>document.write(new Date().getFullYear())</script>, Company Name.</p>

Date Range

<p>&copy; Copyright 2020-<script>document.write(new Date().getFullYear())</script>, Company Name.</p>

Don't let your website look dead on the internet