Minecraft wiki entry for Daylight_cycle, associated text: If commands are enabled, then it is possible to change the current time with the /time commands, as detailed below. To enable or disable the daylight cycle, use the following command: /gamerule doDaylightCycle true|false