How to update copyright year automatically each year?

No body wants to update each year their websites copyright manually. And most of beginner runs away from JavaScript. Fortunately, JavaScript isn't required for this task.(Though we can do it using JavaScript too).

Here we will use only HTML and PHP for updating copyright year automatically inside our footer.


<!DOCTYPE html>
	<!-- Webiste font-size changes when screen size changes. -->
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Updating Copyright Year Automatically Using HTML and PHP</title>
	<div class="footer-copyright text-center py-3">&copy; <?php echo date("Y"); ?> Copyright:
		<a href="#"></a>