The length of darkness is what triggers flowering. You can make the dark shorter by doing lights at sunset or before daylight. Or you can fool the plant into thinking there are two short nights by turning on the light at midnight. Either one will work. The light at sunset or sunrise would be less stressful to the plant.