The response (e.g., flowering, germination) of organisms to the relative length of daily periods of light and darkness.