PHP Get Current Year

PHP Date Code
PHP Date Code

I've just started adding the PHP get current year code snippet to my website templates. I'm sure there's many more use cases.

Get Year PHP Code

<?php echo date("Y"); ?>
© <?php echo date("Y"); ?>

More