Method of controlling display mode and device

The invention discloses a method of controlling a display mode and a device and belongs to the technical field of computers. The method comprises the steps of obtaining current system time, adjusting a current time period according to the current system time and a set time period, obtaining a first display mode corresponding to the current time period according to the current time period, and upgrading a current display mode into the first display mode. According to the method, the current time is obtained, the time period of the current time is adjusted, the first display mode corresponding to the current period is obtained, the current display mode is upgraded into the first display mode, and therefore automatic switchover of the display mode is achieved, the technical defect that a user manually upgrades the display mode is avoided, and use experience of a user is improved.