Answers for "php year function"

PHP
0

how to get the current year in php

Get the current year using PHP:
  
<?php 
	echo date("Y"); 
?>
Posted by: Guest on October-19-2020
-1

year in php

date('Y')
Posted by: Guest on September-13-2021

Browse Popular Code Answers by Language