Date Range comparisons

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Brad_Wells_(Guest)
Posts: 11
Joined: Tue Oct 10, 2017 12:44 pm

Date Range comparisons

Post by Brad_Wells_(Guest) » Fri Jul 18, 2003 11:22 am

Can you help me define a formula for comparing the overlap between 2__date ranges?____For example, if I have 2 columns of information, each containing date__ranges - can we compare them and report in another column the number of__days of overlap?__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Date Range comparisons

Post by kfleming » Fri Jul 18, 2003 11:49 am

Do you have two single date field and then at the bottom of the report want to compute the overlap between the highest and lowest dates in each column or do you have two character fields, each containing a start/end date and want to compute overlap on a per record basis?____Kathleen__R&R Support

Brad_Wells_(Guest)
Posts: 11
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Date Range comparisons

Post by Brad_Wells_(Guest) » Fri Jul 18, 2003 1:34 pm

Kathy, ____I am working with text fields of the two date ranges. I think I have this figured out. I am parsing the date ranges into sperate fields and if date range 2 begin date is before date range 1 end date I am using daysbtwn + 1 to calculate the overlapping number of days.____I am going to test this out over the weekend.______Take care and have a great week-end.____Thanks,______Brad

Post Reply