Both, but what matters is the temp. of your tank(water). Some lights, esp the MH
's, get really hot and it may bring the temp up to unsafe levels. I have a PC
fixture and I've noticed that when I turn off my lights, the temp drops .6 deg. F In an hour or so. I'm pretty sure that temp changes that small are negligable.
lights do you have?