Emisor de respuesta automática: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp
| From: | MIGUEL ANTONIO GUIRAO AGUILAR | Date: | Sun, 08 May 2005 21:03:43 +0000 |
| Subject: | Emisor de respuesta automática: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-39390@lists.php.net to get a copy of this message | ||
In the DB, I guess you should use an ALTER TABLE sentence in order to change your DATE field into a
TIMESTAMP field.
--------------------------
MIGUEL GUIRAO AGUILERA
Logistica R8 - Telcel
Tel: (999) 960.7994
Cel: 9931-60000
----- Mensaje original -----
De: Graham Anderson <grahama@siren.cc>
Fecha: Sábado, Mayo 7, 2005 6:06 pm
Asunto: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp
> I need to batch convert a bunch of date strings into mysql time
> stamps:
> If I have the following:
> May 7, 2005, 7:29 pm
>
> how do I convert that to a MySQL Timestamp like:
> 20050507192957
>
> many thanks
>
> g
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>