Range within a range?

Docedison:
What do you do on a partly cloudy day? Use a watch? how do you correct for seasonal variations? and the point that one set of va lues is a subset of another larger set of values... seems most contradictory on the surface....
Besides it's a most poor method. Perhaps you could start a timer triggered at the first occurrence of the "inside" set of values.
Might be easier to start a timer to detect first light and add a table of first light vs season Times for first light... that approach might have a chance of working... after a "fashion" you could use the timer to report the time of day... although an RTC just Might be the wisest choice... your approach seems similar to using a liter measure to accurately measure half liter quantities...

Doc

The device wont function on a partly cloudy day, Look, I know its a flawed design. Lets just say that you would only use it on an ideal clear sky day.

it is a box placed with 5 photocells on each side, now depending on where the sun is in the sky, the top three photocells will be averaged giving me a value, I have different value resistors on the left and right photocell. so if the measurement is being done before 12 pm, i will get a different range of values, than what i would get after 12 pm, therefore, i would be able to use the numbers i get to map them to the azimuth and elevation of the sun. however, my problem is that i am getting an overlap of numbers. i understand that the design is flawed. however all i want it to do is distinguish the range of values when it is within a range. however, i dont thinks its possible. anyways. thank you for your help. And im new here. i couldnt fidn the code tags. sorry.