SQL Function Reference

DATE
Retrieves the date from a date and time of day value in YYYY-MM-DD HH:MM:SS format, truncating hours, minutes, and seconds
MySQL
DATE(datetime)
Examples
MySQL
SELECT DATE("2022-12-05 10:37:22");