G
Guest
Hey people
My logic is not working. I have date format data as below: When another time interval falls within any of these ranges, it will be condition 1, else it will be 0. I have lots of data to evaluate it agains
Date/time On Date/time Of
1/8/01 20:47 1/9/01 0:0
2/15/01 21:52 2/16/01 11:0
2/16/01 17:13 2/17/01 7:3
2/18/01 15:12 2/18/01 16:1
3/6/01 18:29 3/7/01 0:0
3/7/01 9:06 3/7/01 17:0
3/8/01 4:11 3/8/01 14:2
3/9/01 19:07 3/9/01 22:0
3/15/01 20:44 3/15/01 9:0
3/16/01 23:47 3/17/01 7:2
3/20/01 18:20 3/21/01 6:2
3/21/01 19:25 3/22/01 5:0
here is some of the data I am evaluating it agains
ARRIVAL DEPARTUR
1/1/01 9:57 1/1/01 10:3
1/1/01 10:04 1/1/01 10:4
1/1/01 10:08 1/1/01 13:4
1/1/01 10:10 1/1/01 11:0
1/1/01 10:14 1/1/01 11:4
1/1/01 10:19 1/1/01 13:3
1/1/01 10:22 1/1/01 11:2
1/1/01 10:28 1/1/01 11:0
1/1/01 10:47 1/1/01 14:3
1/1/01 10:49 1/1/01 12:3
1/1/01 10:55 1/1/01 12:2
1/1/01 10:57 1/1/01 13:3
My logic is not working. I have date format data as below: When another time interval falls within any of these ranges, it will be condition 1, else it will be 0. I have lots of data to evaluate it agains
Date/time On Date/time Of
1/8/01 20:47 1/9/01 0:0
2/15/01 21:52 2/16/01 11:0
2/16/01 17:13 2/17/01 7:3
2/18/01 15:12 2/18/01 16:1
3/6/01 18:29 3/7/01 0:0
3/7/01 9:06 3/7/01 17:0
3/8/01 4:11 3/8/01 14:2
3/9/01 19:07 3/9/01 22:0
3/15/01 20:44 3/15/01 9:0
3/16/01 23:47 3/17/01 7:2
3/20/01 18:20 3/21/01 6:2
3/21/01 19:25 3/22/01 5:0
here is some of the data I am evaluating it agains
ARRIVAL DEPARTUR
1/1/01 9:57 1/1/01 10:3
1/1/01 10:04 1/1/01 10:4
1/1/01 10:08 1/1/01 13:4
1/1/01 10:10 1/1/01 11:0
1/1/01 10:14 1/1/01 11:4
1/1/01 10:19 1/1/01 13:3
1/1/01 10:22 1/1/01 11:2
1/1/01 10:28 1/1/01 11:0
1/1/01 10:47 1/1/01 14:3
1/1/01 10:49 1/1/01 12:3
1/1/01 10:55 1/1/01 12:2
1/1/01 10:57 1/1/01 13:3