Obtaining lighting time distribution