Question
A slightly complex date question
Hello,
I have a series of date ranges, for example:
08/02/2008-08/04/2008
07/06/2007-07/10/2007
06/05/2006-06/12/2006
The user enters another set of dates:
08/01/2008-08/04/2008
I need to make sure that the range of dates they enter do not overlap with any of the dates mentioned above. The one that the user entered would conflict with (1) above and should return an error.
If they enter another date like:
01/01/1999-02/15/2009
This should also return an error because this date conflicts with ALL of the date ranges above. I would appreciate any help on this issue.
I have a series of date ranges, for example:
08/02/2008-08/04/2008
07/06/2007-07/10/2007
06/05/2006-06/12/2006
The user enters another set of dates:
08/01/2008-08/04/2008
I need to make sure that the range of dates they enter do not overlap with any of the dates mentioned above. The one that the user entered would conflict with (1) above and should return an error.
If they enter another date like:
01/01/1999-02/15/2009
This should also return an error because this date conflicts with ALL of the date ranges above. I would appreciate any help on this issue.
