I'm not trying to change the value, im simple trying to pull it into a string so i can use it as a condition in an sql find.
On Jan 1, 10:25 am, WebbedIT <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
