Em Ter 16 Jul 2002 18:19, Elby Vaz escreveu:
> Hi,
>
>   the date format of MySql is yyyy/mm/dd (2002/07/16) right?
Wrong. The date format of MySQL is yyyy-mm-dd.

>   How I do to insert the date typing in my form dd/mm/aaaa (16/07/2002)?
>   It is possible?
You have to format your date to insert into MySQL.
Are you using PHP? If yes, you can try this line into your program:

$mysql_date = substr($your_date, 6, 4) . "-" . substr($your_date, 3, 2) . "-" 
. substr($your_date, 0, 2)

Hope this can help you.
Anderson


> _________________________________________________________________
> MSN Photos é a maneira mais fácil e prática de editar e compartilhar sua
> fotos: http://photos.msn.com.br
>
>
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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