MONTH

2024-04-19 08:42:50  Updated

Syntax

MONTH(date)

Purpose

MONTH() returns the month of date.

Examples

obclient> SELECT MONTH('2008-02-03');
+---------------------+
| MONTH('2008-02-03') |
+---------------------+
|                   2 |
+---------------------+
1 row in set

Contact Us