I want to count the number of overlapping days given a start and end date and a range:
For example,
Start Date /1/2004 and End Date of 4/15/2004
Range 1 start 1/1/2004
Range 1 end 3/31/2004
Range 2 start 4/1/2004
Range 2 end 6/30/2004
How can i count the number of days within my start to end date overlap with each range????
So in this case # of days within Range 1 = 91 days and within Range 2 = 16 days
Any help is much appreciated!
For example,
Start Date /1/2004 and End Date of 4/15/2004
Range 1 start 1/1/2004
Range 1 end 3/31/2004
Range 2 start 4/1/2004
Range 2 end 6/30/2004
How can i count the number of days within my start to end date overlap with each range????
So in this case # of days within Range 1 = 91 days and within Range 2 = 16 days
Any help is much appreciated!