You have already completed these exercises!
Do you want to take them again?
You completed the PHP Dates Exercises from W3Schools.com
Share on:
Consider this date object:$d=strtotime('10:30pm May 5 2025');What is a correct syntax for returning the full year (2025)?
$d=strtotime('10:30pm May 5 2025');
date('y', $d)
date('Y', $d)
date('YYYY', $d)