Change this area of Post #4 to Post #7. "W" will record the periods of 6 to 12 hours.
If hrs > 0.5 Then 
                x = x + 1 
            End If