Mysql date format
| From: | R B | Date: | Thu, 07 Nov 2002 22:56:26 +0000 |
| Subject: | Mysql date format | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-123264@lists.php.net to get a copy of this message | ||
I'm using php with MySql.
I'm migrating an php-oracle application to php-mysql. I need to know if exists any function in mysql similar to the "to_char" or "to_date" functions of oracle; or "format" function of access?. These functions make a date format or numeric format.
ex: to_char(sysdate,'dd/mm/yyyy hh:mi:ss') return a string with the actual datetime in the specified format.
Thanks,
RB
_________________________________________________________________
Únete al mayor servicio mundial de correo electrónico: http://www.hotmail.com