JavaScript Code That Automatically Updates The © Year In Your Website’s Footer

In Web Business Tips by Matt ChieraLeave a Comment

We’re over two weeks into 2021 and I know some of you haven’t changed the © date in your website’s footer yet.

Here’s a JavaScript snippet that automatically updates the year. Add the code below (or replace the current © code) in your website’s footer so you never have to worry about it again:

<script type=”text/JavaScript”>

document.write(new Date().getFullYear());


About the Author

Matt Chiera

Matt Chiera is Founder & Principal Consultant at Ice Nine Online. Since forming the company in 2014, he’s helped Ice Nine Online’s clients generate millions of dollars in revenue from digital marketing. Matt taught digital marketing strategy and tactics at the Tribeca School’s Digital Professional Institute. Matt’s book “Digital Marketers Sound Off” has been ranked as the #1 book in the Web Marketing category on Amazon.

Share this Post

Leave a Comment