6 Replies Latest reply: Sep 14, 2012 5:47 AM by sandeepa rout RSS

    Date Difference Excluding weekends

      Greetings All,

       

       

      I have to calculate date difference between two dates but I have to exclude

      "saturday" and "sunday".

       

       

      For example: '2012-09-14' - '2012-09-07' = 7

       

       

      but it should give me 5 as it is included saturday and sunday.

       

       

      Please advise how to achieve it.

       

       

      Many Thanks!