Date Time Functions MySQL Tutorial

mysql>
mysql> SELECT YEAR('01/12/25 11:00:00');
+---------------------------+
| YEAR('01/12/25 11:00:00') |
+---------------------------+
|                      2001 |
+---------------------------+
1 row in set (0.00 sec)
mysql>