I have a MSSQL database table called trs_assignments with a field complete_by_date => datetime => allow nulls false
Then in my view I have echo $form->inputs(array( 'TrsAssignment.complete_by_date' => array( 'type' => 'datetime', 'minYear' => date('Y'), 'maxYear' => date('Y', strtotime('+ 5 years')), 'dateFormat' => 'MY', 'timeFormat' => '', 'selected' => strtotime('+ 1 year') ) )); And it outputs [TrsAssignment] => Array ( [complete_by_date] => Array ( [month] => 05 [year] => 2013 ) ) but it does not save??? any ideas??? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en