At 9:27 AM -0300 9/6/01, Amilton Martins wrote:
>I want to write date type in the format "DD/MM/YYYY" to the database?
>Can I do this with some parameter to mysql.ini?

No.  For storage, you must convert it to CCYY-MM-DD format.
For display, you can format it to the style you want using
DATE_FORMAT(d,'%d/%m/%Y').

>
>**************************
>Amilton Martins
>Infosoft Informática Ltda.
>www.infosoft.inf.br


--
Paul DuBois, [EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to