Hello,
I am using Crystal 9.0 to report on a SQL 2000 database.
I have an open date field and a close date field. I am able to calculate the time between these two dates, but what I would like to do is this:
Say the open date is on Friday at 4pm and close date is on Monday at 8am. I only want to include the actual work hours, not the "off time". So, assuming that normal work hours are 7am to 5pm. The calculation should return 2 hours and 0 minutes. The hour from 4-5pm on Friday and the hour from 7am-8am on Monday. Does anyone have any idea how I can do this?
I am using Crystal 9.0 to report on a SQL 2000 database.
I have an open date field and a close date field. I am able to calculate the time between these two dates, but what I would like to do is this:
Say the open date is on Friday at 4pm and close date is on Monday at 8am. I only want to include the actual work hours, not the "off time". So, assuming that normal work hours are 7am to 5pm. The calculation should return 2 hours and 0 minutes. The hour from 4-5pm on Friday and the hour from 7am-8am on Monday. Does anyone have any idea how I can do this?