Hello,
can somebody help me with the following problem:
given two date ranges, each with start and end dates, how do you determine if the ranges overlap and calculate the number of weeks in these overlap in a query?
For example:
Time to develop a paperbox:
startdate 1/10/2009
enddate 30/10/2009
The filter:
startdate 15/9/2009
enddate 15/10/2009
So the overlap is from 1/10 until 15/10/2009 (2 weeks) ...
How can I make this in a query?
Thanks in advance,
Sven.
can somebody help me with the following problem:
given two date ranges, each with start and end dates, how do you determine if the ranges overlap and calculate the number of weeks in these overlap in a query?
For example:
Time to develop a paperbox:
startdate 1/10/2009
enddate 30/10/2009
The filter:
startdate 15/9/2009
enddate 15/10/2009
So the overlap is from 1/10 until 15/10/2009 (2 weeks) ...
How can I make this in a query?
Thanks in advance,
Sven.