issue with to_date function with sysdate
问题 I saw this question so I've one doubt regarding this question: I am getting different result with the same date on the following query. SELECT TO_CHAR(to_date(sysdate, 'DD-MON-yy'), 'DAY'), TO_CHAR(to_date(sysdate, 'DD-MON-yyyy'), 'DAY'), TO_CHAR(to_date(sysdate, 'DD-MON-rr'), 'DAY'), TO_CHAR(to_date(sysdate, 'DD-MON-rrrr'), 'DAY') FROM dual; output as column-wise: TUESDAY SUNDAY TUESDAY TUESDAY please help me, Thanks in advance. EDIT I wrote a simple procedure which passing date for finding