/

/time

op 2World

/time controls the day-night cycle. A full day is 24,000 ticks, day starts at 1000 and night at 13000. From 26.1 the command also understands named world clocks.

Commandready
13
/time set day
Press C to copy

Examples

  • Make it day
    /time set day
  • Skip an hour
    /time add 1000

Common questions about /time

How many ticks are in a Minecraft day?

24,000 ticks, which is 20 real-world minutes. Day begins at 1000 and night at 13000.

Why does the time keep moving after I set it?

The cycle carries on. To freeze it, turn off the daylight cycle game rule first — advance_time on 1.21.9 and later, doDaylightCycle before that.