SQL FunctionsDate & Time FunctionsTO_MONTHOn this pageTO_MONTHConvert a date or date with time (timestamp/datetime) to a UInt8 number containing the month number (1-12). Syntax TO_MONTH(<expr>) Arguments ArgumentsDescription<expr>date/timestamp Aliases MONTH Return Type TINYINT Examples SELECT NOW(), TO_MONTH(NOW()), MONTH(NOW());