When you see preflowers starting to appear it should be apparent within a couple days at most that they are either male or female.
You definitely want to go with a redder light for flowering.