Mega Code Archive
Categories
/
MySQL Tutorial
/
Date Time Functions
GET_FORMAT(DATE,ISO)
mysql> mysql> select GET_FORMAT(DATE,'ISO'); +------------------------+ | GET_FORMAT(DATE,'ISO') | +------------------------+ | %Y-%m-%d | +------------------------+ 1 row in set (0.00 sec) mysql>