On dark turn Led on and off in an hr

How do you have the LDR & LED wired up?
Sounds like maybe you want to look for
ldrValue<=912
to indicate dark?
And then add a flag so it does not come back until ldrValue has gone high to show it has been daylight again.