> I'm using php with MySql.
> I'm migrating an php-oracle application to php-mysql. I need to know
> 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
> 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.

MySQL has the DATE_FORMAT() function to do this.


---John Holmes...

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

Reply via email to