Mysql uses the yyyy-mm-dd DATE/DATETIME format as it makes sorting and comparisons work correctly.
If you want mysql to covert the format on input and output, you need to use the -
DATE_FORMAT(date,format) - function.
This function is of some use as well -
Quote:
GET_FORMAT(DATE|TIME|DATETIME, 'EUR'|'USA'|'JIS'|'ISO'|'INTERNAL')
Returns a format string. This function is useful in combination with the DATE_FORMAT() and the STR_TO_DATE() functions.
|