SQL FunctionsDate & Time FunctionsTO_DAY_OF_MONTHOn this pageTO_DAY_OF_MONTHConvert a date or date with time (timestamp/datetime) to a UInt8 number containing the number of the day of the month (1-31). Syntax TO_DAY_OF_MONTH(<expr>) Arguments ArgumentsDescription<expr>date/timestamp Aliases DAY Return Type