Thanks for your reply Nate but the default value is defined as NULL
e.g.

`recurring_date` datetime default NULL,

Any other suggestions?

On Oct 19, 9:32 pm, nate <[EMAIL PROTECTED]> wrote:
> Change the default value of the column to NULL.
>
> On Oct 19, 3:10 pm, RLR <[EMAIL PROTECTED]> wrote:
>
> >  I recently started using cakephp 1.2 branch.
>
> > The problem I am having is that a date field in my app is always saved/
> > reloaded with "0000-00-00 00:00:00". I would prefer to use a NULL
> > value when no date has been entered. How can I change/fix this
> > behavior?
>
> > Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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