Answers for "how to take only year from current date in php"

PHP
8

php get current year

// get current year using php
<?php echo date("Y"); ?>
Posted by: Guest on August-03-2020

Code answers related to "how to take only year from current date in php"

Browse Popular Code Answers by Language