Disclosed are a method and device for obtaining starting-up time, relating to the technical field of computer. The method for obtaining starting-up time comprises: obtaining a first time quantum and a second time quantum, processes corresponding to a boot program in the first time quantum being all spaced by the time of established moment, and…