Hi,

My problem is about working with dates. When I store dates on Informix
(field of type "date") this date is correctly stored on the DB according
with my current locale (spanish, es_ES). The format is dd/mm/yyyy.

The problem comes when I "just" retrieve this date from the DB and show it
in a page, without any treatment. PHP shows this date in the format
mm/dd/yyyy and I don´t know why. It seems that PHP has any configuration
option that says how to print dates. I've been searching into the
configuration files but I did found nothing.

¿ Why does PHP change the format of dates retrieved from DB ?

Thank you very much and sorry for my awful english.

>                       \|||/
>                       (o o)
> ------------------ooO--(_)--Ooo--------------------
> Alejandro José Jerez
> Ayto. de Alicante - Servicio Central de Informática
> Tlf. (+34) 965 149 611 (Directo)
> e-mail: [EMAIL PROTECTED]
> ---------------------------------------------------
> 

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to