You wanna do it while the lights are on, you dont want any light to see your plants during the "Night" period, if you move them during the day the worst thats gunna happen is it wont get as much light for however long your switching them over. Either way, your plant will be fine, I personally would just switch them while the lights are on.