I give my tank the lights on for 5hr, 3 or 4 hr siesta, and on 5 hours.
But when my lights are off, the room is very bright so the tank is still getting some light (tank not in sun at any time tho).
I read that algae can thrive in lower levels of light where plants need good light, so...