Automatic, Always Up-To-Date Copyright On Your Website
Insert The Current Year With PHP
It's also super easy to do, simply add <?php echo date('Y') ?> instead writing the current year manually... Really, that's it, easy as pie.
For example, your HTML code could look something like this:
© Copyright Example.com 1998 - <?php echo date('Y') ?>
Which would show on the page as:
© Copyright Example.com 1998 - 2021
If you'd prefer to go all out and do the entire thing in script, this handy little tool may be of help. Simply fill your details into the form below, then copy and paste the freshly generated code into your page where you'd like your copyright information to appear.