I am attempting to subtract periods of time (start time from end time) but when I have times that show AM and PM or proceed to conclude the next day I don't receive a good calculated answer. I am looking for the total duration for each incident. See example that follows. How can I achieve the proper result?
Create Date and time Resolved Date and time
--------------------------------------------------------
1/4/2004 6:35:52 AM 1/4/2004 4:17:28 PM
1/4/2004 8:07:58 PM 1/8/2004 8:18:00 AM
Create Date and time Resolved Date and time
--------------------------------------------------------
1/4/2004 6:35:52 AM 1/4/2004 4:17:28 PM
1/4/2004 8:07:58 PM 1/8/2004 8:18:00 AM