mysql>mysql> select MAKEDATE(2004,365);+--------------------+| MAKEDATE(2004,365) |+--------------------+| 2004-12-30 |+--------------------+1 row in set (0.00 sec)mysql>