Hi ,
I am running below in the sqlplus , but getting below error.
SQL> select TO_CHAR(SYSDATE,'YYYY-MM-DD"T"HH24:MI:SS.FF9tzh:tzm') from dual;
select TO_CHAR(SYSDATE,'YYYY-MM-DD"T"HH24:MI:SS.FF9tzh:tzm') from dual
*
ERROR at line 1:
ORA-01821: date format not recognized
I need output like : 2017-08-16T16:08:00.000Z
can anyone suggest the changes i need to do for the DUAL statement.