mktime() throwing errors - use time() instead
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?
for($m = 1;$m <= 12; $m++)
$month = date("F", mktime(0, 0, 0, $m, 1));
echo "<option value='$m'>$month</option>";
for ($x=(date('Y', mktime())); $x >= 1960; $x--)
echo "<option value='$x'>$x</option>";