Product Solutions Support
Try MemSQL

MONTH

Extracts the month from the given datetime.

MONTH ( dateobj )

Arguments

Return Type

Integer

Examples

memsql> select month('2009-02-13');
+---------------------+
| month('2009-02-13') |
+---------------------+
|                   2 |
+---------------------+
Was this article useful?