In MySQL you can do that with: DATE_FORMAT

DATE_FORMAT (column_name,'%Y-%m-%d %H:%i')

-----Mensaje original-----
De: J S [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 14 de Julio de 2004 08:26 a.m.
Para: [EMAIL PROTECTED]
Asunto: sql function for timestamp

Hi,

What SQL function do I need to convert timestamp 200406011403 into 
"2004-06-01 14:03" ?

Thanks,

JS.

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to