I am trying to convert below string to date and having issues.
select to_date('20170116','RRRR/MM/DD HH24:MI:SS') from dual;
Current Output:
16-JAN-17 00:00:00
I am expecting to see output in the format of , 2017/01/16 00:00:00.
Can you please suggest.