This thread should get moved, but switch to 12/12 when you see alternating nodes (main stme starts looking zigzag). If you don't see them, then switch when the plant reaches 1/3-1/2 of the height you want it to finish.

Switching the lights, just stick them on a 12/12 timer. Don't try to do it gradually- it is almost impossible to do that smoothly.