how to get the current year in php
snippet in php

php get current year

user2295

// get current year using php
<?php echo date("Y"); ?>

php get year

user8944

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

how to get the current year in php

user3840

Get the current year using PHP:
  
<?php 
	echo date("Y"); 
?>