As you are trying to change the value of a field before it is saved
then the simplest way is to use PHP to directly manipulate the field
value in the $this->data['Model'] array.  That way the model's save
function will deal with the save automagically.

Are you using the form helper to produce the date field in the form?
If so, cake should worry about the formatting on your behalf.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to