My tank is
Mostly fish
Lots of live plants
Light comes on at
10:00
Hours on per day
8 h
The tank gets direct sun from a window
Rule of thumb: 8 to 10 hours (RSPCA), or 6 to 8 if algae is a problem and you have plants. Off at night, always the same times.