A vague question because the strength of stimuli varies among species. Generally,forobligant migrants, photoperiod controls the endocrinology that triggers molt and migration. Proximate factors vary even more among species and individuals. For example, mallards tend to molt starting in May and June, but if a drake doesn't pair, he won't molt until later. With migration, zugenrhue starts in response to photoperiod, but actual departure is dependent upon weather conditions, bird body condition, disturbance, etc.
Clint