RE: Date Disparity

From: Blanchard, William <>
Date: Tue, 16 Feb 2010 15:52:15 -0600
Message-ID: <>

I don't know that that's incorrect. The 15th, Monday, is the second day of the week.    

WGB   From:
[] On Behalf Of Jared Still Sent: Tuesday, February 16, 2010 3:48 PM To: Oracle-L Freelists
Subject: Date Disparity    

Anyone else see a problem with this:  

  1 select trunc(sysdate,'W'), to_char(trunc(sysdate,'W'),'d')

  2* from dual

13:46:46 - js001292_at_dv11 SQL> /  


  • -

02/15/2010 00:00:00 2  

1 row selected.  

ie. the first day of the week as per trunc() is the second day of the work as per to_char()  

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist Oracle Blog: Home Page:


This email and any information, files, or materials transmitted with it are confidential and are solely for the use of the intended recipient. If you have received this email in error, please delete it and notify the sender.

Received on Tue Feb 16 2010 - 15:52:15 CST

Original text of this message