mysql> mysql> SELECT LAST_DAY('2003-03-32'); +------------------------+ | LAST_DAY('2003-03-32') | +------------------------+ | NULL | +------------------------+ 1 row in set, 1 warning (0.00 sec) mysql>