Programming Tips - PHP: Get the current year with php

Date: 2011jan20 Language: php Level: novice Q. PHP: Get the current year with php A. Use the date function:
$year = date('Y');
More info http://php.net/manual/en/function.date.php