Forum Discussion

Data_Planner's avatar
Data_Planner
Regular Visitor
7 years ago
Solved

Date difference between two columns and consecutive rows

Hello,

 

I'm looking at analysing a database that is being produced by a machine with each row representing a new job. The machine outputs into two columns a start time and end time.

 

What I would like to calculate is the difference in time between when job 1 ends and job 2 starts. This will allow me to analyse what the turn around time of each job is. This would be easy to do in Excel (e.g. C3 - D2) however the raw data is in an Access database file.

 

autoidJobtxtJobNamedtTimeStartdtTimeEnd
1150701_1.cli02/07/2015 16:2202/07/2015 16:46
2150701_1.cli02/07/2015 17:1203/07/2015 05:45
3150702_2.cli03/07/2015 05:5203/07/2015 06:12
4150703_1.cli03/07/2015 10:4103/07/2015 15:55
5150703_2.cli03/07/2015 16:0404/07/2015 02:35
6150706_2.cli06/07/2015 13:4406/07/2015 21:31
7150706_1.cli06/07/2015 21:4107/07/2015 06:04
8150707_1_slice.fabbproject.cli07/07/2015 13:5108/07/2015 02:37
9150609_1.cli08/07/2015 12:5009/07/2015 02:22
10150709_1_slice.fabbproject.cli09/07/2015 11:4909/07/2015 20:04
11150710_1_slice.fabbproject.cli10/07/2015 10:3610/07/2015 18:36
12150714_1.cli14/07/2015 11:2614/07/2015 15:45
13150715_1.cli15/07/2015 11:5416/07/2015 03:54
14150715_2.cli16/07/2015 04:0416/07/2015 10:02
15150716_1.cli16/07/2015 10:3116/07/2015 10:35

 

Any ideas???

 

Thanks