php4
How do I use PHP to get the current year?
You can use either date or strftime. In this case I’d say it doesn’t matter as a year is a year, no matter what (unless there’s a locale that formats the year differently?) For example: <?php echo date(“Y”); ?> On a side note, when formatting dates in PHP it matters when you want to format …