Several organisms have evolved the ability to measure daylength, or photoperiod, allowing them to adjust their development in anticipation of annual seasonal changes. Daylength measurement requires the integration of temporal information, provided by the circadian system, with light/dark discrimination, initiated by specific photoreceptors. Here we demonstrate that in Arabidopsis this integration takes place at the level of CONSTANS (CO) function. CO is a transcriptional activator that accelerates flowering time in long days, at least in part by inducing the expression of FLOWERING LOCUS T (FT). First, we show that precise clock control of the timing of CO expression, such that it is high during daytime only in long days, is critical for daylength discrimination. We then provide evidence that CO activation of FT expression requires the presence of light perceived through cryptochrome 2 (cry2) or phytochrome A (phyA). We conclude that an external coincidence mechanism, based on the endogenous circadian control of CO messenger RNA levels, and the modulation of CO function by light, constitutes the molecular basis for the regulation of flowering time by daylength in Arabidopsis.