SQL
MySQL DATE() Function
Extract the date part: