-- TO_TIMESTAMP(date_string,'YYYY-MM-DD HH24:MI:SS') SELECT TO_TIMESTAMP('2021-02-21 23:12:01','YYYY-MM-DD HH24:MI:SS') FROM DUAL;
CAST(timestamp_expression AS DATE)