So I have this program for assigning people to projects. In my database I already have some samples projects with assigned employees. I have to be able to cross match my current project's start and end date to the projects that the employee is assigned too.
I can't do it like
if (this_StartDate == assignedProj_StartDate || this_EndDate == assignedProj_EndDate)
because that would only match the exact dates.
I need to be able to mark the employee available if this_StartDate & this_EndDate is not within the period of the assigned project to him. Help?