I have a column named StartDate containing a date in this format: 03-03-2012 15:22
StartDate
03-03-2012 15:22
What I need is to convert it to date. It should be looki
We can use TRUNC function in Oracle DB. Here is an example.
SELECT TRUNC(TO_DATE('01 Jan 2018 08:00:00','DD-MON-YYYY HH24:MI:SS')) FROM DUAL
Output: 1/1/2018