TO_UNIXTIME does not exist

Internal Server Error: Received #1305 error from MySQL server: "FUNCTION hammy.TO_UNIXTIME does not exist"