TURNING LIGHTS ON AND OFF
Stress from tank lights coming on when the room is dark can be an issue. Fish don't have eyelids and don't tolerate going from complete dark to bright light (or vice versa) instantly.
In the morning open the curtains or turn the room light on at least 30 minutes (or more) before turning the tank light on. This will reduce the stress on the fish and they won't go from a dark tank to a bright tank instantly.
At night turn the room light on and then turn the tank light off. Wait at least 30 minutes (or more) before turning the room light out. This allows the fish to settle down for the night instead of going from a brightly lit tank to complete darkness instantly.
Try to have the lights on at the same time each day. Use a timer if possible.
If the light unit is programmable, have it on a low setting for the first 30-60 minutes and increase the brightness over time. Do the opposite in the evening and gradually reduce the light for the last 30-60 minutes before lights out.
If you don't have live plants in the tank, you only need the light on for a few hours in the evening. You might turn them on at 4 or 5pm and off at 9pm.
If you do have live plants in the tank, you can have the lights on for 8-16 hours a day but the fish and plants need 8 hours of darkness to rest. Most people with live plants in their aquarium will have the lights on for 8-12 hours a day.
--------------------
LIGHTING TIMES
Most aquarium plants like a bit of light and if you only have the light on for a couple of hours a day, they struggle. If the light doesn't have a high enough wattage they also struggle. Try having the tank lights on for 10-12 hours a day.
If you get lots of green algae then reduce the light by an hour a day and monitor the algae over the next 2 weeks.
If you don't get any green algae on the glass then increase the lighting period by an hour and monitor it for a couple of weeks.
If you get a small amount of green algae then the lighting time is about right.
Some plants will close their leaves up when they have had sufficient light. Ambulia, Hygrophilas and a few others close their top set of leaves first, then the next set and so on down the stem. When you see this happening, wait an hour after the first few sets of leaves have closed up against the stem and then turn lights off.
Plant lights should have equal amount of red and blue light and a bit less green light.
--------------------
TWO LIGHT UNITS
If you have two light units on the tank, put them on timers and have one come on first, then an hour later the second one can come on. It will be less stressful for the fish.
In the evening, turn the first light off and wait an hour, then have the second light go out.
If the lights have a low, medium and high intensity setting, have them on low in the morning, then increase it to medium after a couple of hours, and then high for the main part of the day. In the evening, reverse this and have the medium setting for a few hours, then low. Then turn the lights off.