View Single Post
  #1 (permalink)  
Old July 12th, 2012, 04:54 PM
pallone pallone is offline
Friend of Wrox
Points: 1,243, Level: 13
Points: 1,243, Level: 13 Points: 1,243, Level: 13 Points: 1,243, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2003
Location: , , United Kingdom.
Posts: 290
Thanks: 24
Thanked 0 Times in 0 Posts
Default Subtracting end date - inital date but count only week days not Saturdays and Sundays

Hi,

Is possible to subtract the end date - start date and get the number of days but without weekends?

So, if I am on Friday and my end date is the following Monday then I should get 1 instead of 3.

<root>
<StartDate>9 July 2012</StartDate>
<StartDate>24 September 2016</StartDate>
<root>

Cheers

C



asdfasdf
Reply With Quote