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 <[EMAIL PROTECTED]>
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
> 
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to