year show php code example
Example 1: get current year php
<?php echo date("Y"); ?>
Example 2: automatic years php
© 2008-<?php echo date("Y"); ?> // 2008-20??
<?php echo date("Y"); ?>
© 2008-<?php echo date("Y"); ?> // 2008-20??