Viewing 2 posts - 1 through 2 (of 2 total)
ok after reviewing I think the line:
AND [Calendar Date] < DATEADD(hh, -9, @End_Date) -- excludes days when disconnected before hours
should be:
AND [Calendar Date] < DATEADD(hh, -8, @End_Date) --...
December 30, 2015 at 10:57 am
#1848805
First of all, thanks for this; it is very close to what I needed as well. The issue i'm having though is it doesn't seem to count time from 8...
December 30, 2015 at 9:48 am
#1848782