The time period of daily exposure that an organism receives from daylight or artificial light. It is believed that photoperiodic responses may affect the control of energy balance and thermoregulation.