Date Time Functions MySQL Tutorial

mysql>
mysql> SELECT DAYOFYEAR('2000/02/01');
+-------------------------+
| DAYOFYEAR('2000/02/01') |
+-------------------------+
|                      32 |
+-------------------------+
1 row in set (0.00 sec)
mysql>