SQL
MySQL DAY() Function
Return the day of the month for a date: