CakePHP Dates are Nice


	Date: <?=$html->monthOptionTag( 'Phoneproject/Date' )?> -
		<?=$html->dayOptionTag( 'Phoneproject/Date' )?> -
		<?=$html->yearOptionTag( 'Phoneproject/Date' )?>

That's how you display some fields to set the value of the "Date" field.

The resulting HTML will display three SELECTs named "data[Phoneproject][Date_month]" "data[Phoneproject][Date_day]" "data[Phoneproject][Date_year]".

When you read the data from the form, the Date value is put back together. The system must read the field names, notice the _day, _month, and _year suffixes, and then concatenate the parts together into a whole date.