Hi All,
select '2009-03-13T00:00:00.000-07:00' from dual
date data type and i need to print DD-MON-YY
Ex: 13-MAR-09
I have tried with this
select to_char(to_date(to_date(SUBSTR('2009-03-13T00:00:00.000-07:00',1,10),'YYYY-MM-DD'),'DD-MON-YY')) from dual
But is there any better ways ?
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
can you please help me on this?