SELECT To_char(Trunc(SYSDATE), 'yyyy/mm/dd hh24:mi:ss') FROM dual;
SELECT To_date(To_char(Trunc(SYSDATE), 'yyyy/mm/dd hh24:mi:ss'), 'yyyy/mm/dd hh24:mi:ss') FROM dual
The first sentence is varchar type, no matter which database platform or tool platform, you can get the result with 00:00:00 behind.
The second sentence gets the Date type