Source Code:
(back to article)
<?php //Receiving the two-digit format of //the current year withDateTime $currentDate = new DateTime(); $year = $currentDate->format("y"); echo $year; ?>
Result:
Report an issue