To get current Year in PHP you can simply use the following method.

Sample PHP

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

5 thought on “How to get current Year in PHP”

Leave a Reply