php get current year
snippet in php

get current year php

user7543

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

php get current year

user2755

$currentYear=date("Y");//2019

php get current year

user4963

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