they can smell at any time, but like everyone said, mostly in flower. i notice it picking up around week 4-5.
wow... weird. my friend had a bag seed plant which was definitely still in veg last year and it really smelt very strongly. it smelt so strong with only two sets of true leaves he was forced to chop it due to suspicion.