RE: [PHP-ES] Fechas en MySql
| From: | Pol Maresma | Date: | Sat, 04 Oct 2003 10:06:22 +0000 |
| Subject: | RE: [PHP-ES] Fechas en MySql | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-41292@lists.php.net to get a copy of this message | ||
Pero en MySQl quedaran con la forma aaaa-mm-dd verdad? Puedo trabajar al
estilo "Europeo"? de momento he hecho una consultar an Access para que me
devuelva esto y así poder importarlo pero prefiero trabajar de modo
dd-mm-aaaa.
gracias por todo
__________________________________________________
PolNetwork.com
Pol Maresma i Oliveras
pol@polnetwork.com - webmaster@santpol.org
Creació, manteniment i allotjament de pàgines Web
__________________________________________________
PRIVAT I CONFIDENCIAL - Aquest missatge i els document adjunts que pugui
contenir són confidencials. Si no sou el destinatari del missatge no teniu
permís per llegir-lo, copiar-lo ni reenviar-lo. Si heu rebut aquest missatge
per error, siusplau comuniqueu-ho al remitent retornant el missatge i
esborreu les còpies del missatge i els seus documents adjunts. Aquest avís
no pot ser eliminat.
PRIVATE & CONFIDENTIAL - This email message and attachments contain
information that is confidential. If you are not the intended recipient, you
are not permitted to use, copy or distribute the message and attachments in
any manner. If you have received this email in error, please inform the
sender by return email immediately and delete all copies of the message and
its attachments. This notice should not be removed.
__________________________________________________
-----Mensaje original-----
De: Horacio Degiorgi [mailto:horaciod@codigophp.com]
Enviado el: dissabte, 4 / octubre / 2003 11:46
Para: lista@phpes.com
Asunto: Re: [PHP-ES] Fechas en MySql
funcion date_format en mysql directamente o date() en php
en mysql es select date_format( now() ,'%d-%m-%y')
en php date('d-m-y', $var_que_contiene_fecha_en_Time_stamp);
Pol Maresma wrote:
> Puedo tener un campo fecha con el formato dd/mm/aaaa ó dd/mm/aa en MySQL?
> Quiero importar datos que tengo en Access i SQLServer, qué me recomiendan?
>
> gracias
>
> __________________________________________________
>
> PolNetwork.com
> Pol Maresma i Oliveras
> pol@polnetwork.com - webmaster@santpol.org
> Creació, manteniment i allotjament de pàgines Web
> __________________________________________________
>
> PRIVAT I CONFIDENCIAL - Aquest missatge i els document adjunts que pugui
> contenir són confidencials. Si no sou el destinatari del missatge no teniu
> permís per llegir-lo, copiar-lo ni reenviar-lo. Si heu rebut aquest
missatge
> per error, siusplau comuniqueu-ho al remitent retornant el missatge i
> esborreu les còpies del missatge i els seus documents adjunts. Aquest avís
> no pot ser eliminat.
>
> PRIVATE & CONFIDENTIAL - This email message and attachments contain
> information that is confidential. If you are not the intended recipient,
you
> are not permitted to use, copy or distribute the message and attachments
in
> any manner. If you have received this email in error, please inform the
> sender by return email immediately and delete all copies of the message
and
> its attachments. This notice should not be removed.
> __________________________________________________
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>
--
Horacio Degiorgi
--
horaciod@codigophp.com
http://blog.codigophp.com
--
movil: 650 080 259
---------------------------------------------------------------------
Archivo On-line: http://www.phpes.com/
via news: news://news.phpes.com/
Manual PHP en español: http://www.php.net/manual/es/
Para dar de baja la suscripción, mande un mensaje a:
lista-unsubscribe@phpes.com