Outdated Version
You are viewing an older version of this section. View current production version.
You are viewing an older version of this section. View current production version.
Extracts the month from the given datetime.
MONTH ( dateobj )
Integer
memsql> select month('2009-02-13');
+---------------------+
| month('2009-02-13') |
+---------------------+
| 2 |
+---------------------+