When does marijuana flower

A question from a fellow grower:

When does the flowering period begins. Right when I switch the lights or two weeks after it starts flowering

Flowering period – usually refers to the switch to 12 hours of uninterrupted darkness, whether or not the “sex” has started to show (immature male or female flowers can show before starting the “flowering period” light cycle).