Following is an example of how to print the current date in PHP. In this example, the current year will be printed.
<?php echo date("Y"); ?>
If you are fetching data from SQL, use this syntax to format the date in PHP:
<?php echo $row['date_column']->format('m/d/Y'); ?>