Agree with NOTG except to say that the number of hours of light that will get you below the algae problem level varies rather wildly for different tanks in different situations. Some tanks can need to see less than 4 hours of steady light (as opposed to 8) to keep them below the algae point.
The factors (we can speculate) may be the ambient light in the room, the average number of microscopic invisible algae spores coming in from the water supply in a given geographic location (or coming in on individual pipe lines within a single tap water supply system even) and finally, the degree to which there end up being small pockets of trace ammonia within the tank. The trace ammonia used by algae is down on the level below where our liquid ammonia testing kits say "zero ppm," so they aren't measurable that way. The factors are the filter and the overall tank circulation.
Anyway, you just never know in a given tank until it hits you, at which point you just have to back off the amount of light a little and try again (it can take months to know whether a change has really worked or not.)
~~waterdrop~~