Answers for "in php which function is used to find year into date"

PHP
3

php grab year from date

$year = date("y",strtotime($mydate));
Posted by: Guest on June-11-2020
0

year in php

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

Code answers related to "in php which function is used to find year into date"

Browse Popular Code Answers by Language