I need to be able to query and count the number of days between a start and end date based on a specified criteria. For example, if someone entering a program has a start date of 10/29/2001 and an end date of 11/03/2001, there are obviously 6 total days, but how do I calculate only the number of days in October. (The only dates in the query/table are the start and end dates.)