http://simon.incutio.com/archive/2003/07/11/storingDatesInMySQL


On Tue, 04 Jan 2005 11:32:10 -0500, Ben Doom <[EMAIL PROTECTED]> wrote:
> Sorry, misread your question.
> 
> Ben Doom wrote:
> > IIRC, it's easiest to pass it as "yyyy-mm-dd hh:mm:ss".
> >
> > --Ben
> >
> > Adkins, Randy wrote:
> >
> >>Does anyone know the proper default value for a DateTime
> >>Field in mySQL?
> >>
> >>I tried using Now() and it converts it to: 0:00:00 0:00:00
> >>Which is illegal value or call or something like that.
> >>
> >>I want that to be triggered as the default datetime when
> >>A record is added to the table rather than setting the
> >>field's value within the query itself.
> >>
> >>
> >>
> >
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:141502
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to