My problem is related to Date type, I am using below code when I want assign a date to a column. D_REPORT := to_date(sysdate,'DD/MM/YYYY HH:MI:SS AM');
but sometimes I receive a date like 31/01/0013 12:24:36 !!
I don't know why sometimes year will appear like 0013 and it is just for few systems, even when I am using sysdate, same problem will occur for me.
I want to check with you, anyone else also having same problem? how I can solve it? because even when I use to_date or just simply write sysdate same problem will happens for me and I don't know what is root cause of the problem.
I am using oracle form 6i and my database is oracle 9i.