I was using codes below to display months and years in a form but with a PHP upgrade it's throwing E_STRICT notice: errors saying I should use the time() function instead. How can I modify these code and still get what these were providing?

PHP Code:
for($m 1;$m <= 12$m++)
$month date("F"mktime(000$m1));
"<option value='$m'>$month</option>";

for (
$x=(date('Y'mktime())); $x >= 1960$x--)
"<option value='$x'>$x</option>";


Alan P