I have the following data:
2016-10-13 09:04:00.000 1
2016-10-13 20:33:00.000 4
2016-10-14 09:10:00.000 1
2016-10-14 21:04:00.000 4
2016-10-17 09:04:00.000 1
2016-10-17 19:50:00.000 4
How to tell the difference between hours between 4 and 1, example:
2016-10-13 09:04:00.000 1
2016-10-13 20:33:00.000 4
My expected result would be around 14 hours, by example:
20:33
21:33
22:33
23:33
00:33
01:33
02:33
03:33
04:33
05:33
06:33
07:33
08:33
09:04
That is, numero 4 é o final
and numero 1 é o inicio
, I need to know diferença entre final e o inicio
.