The length of the day has an effect on the flowering of certain plants. This phenomenon of the response of the plant with regards to the relative length of day and night is known as photoperiodism.