Thanks. I couldn't find an option in strtotime() for shortened months.
I just modified my function to allow for another array of vales instead of just text to display for each option. Can this be shortened though?
function populateSelects ($v, $va, $vva) {
if (empty($vva))
$vva = $va;
for ($i=0; $i < count($va); $i++) {
if ($v==$vva[$i])
echo "<option selected value=\"$vva[$i]\">$va[$i]</option>\n";
else
echo "<option value=\"$vva[$i]\">$va[$i]</option>\n";
}
}
$day_array = array ('Day:','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31');
$month_array = array ('Month:','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
$month_values_array = array ('0','1','2','3','4','5','6','7','8','9','10','11','12');
<select name="day"><? populateSelects ($day, $day_array, null); ?></select>
<select name="month"><? populateSelects ($month, $month_array, $month_values_array); ?></select>