I have a date that is saved as 1900-01-01T00:00:00.000Z string Format. I am trying to convert it, but 1900 is changed to 2000. How to convert into timestamp without losing the year?
SELECT TO_TIMESTAMP(TO_CHAR(TO_DATE(SUBSTR('1900-01-01T13:00:00.000Z',0,10),'RRRR-MM-DD')),'DD/MM/RRRR HH24:MI:SSXFF')
FROM dual;

Enough to use
TO_TIMESTAMPconversion along with double quotes for the lettersTandZsuch asConsidering the hour portion as 13 as seen from the image. Display style varies due to your current NLS settings of the database related to the time and the date