News
Game
Guides
Downloads
Versions
/time
COMMANDS WORLD & RULES CHEATS · LEVEL 2 7 SUBCOMMANDS Added in 1.14 or earlier

/time command in Minecraft

The /time command controls the world clocks. It jumps to day or night, adds ticks, pauses a clock or changes how fast it runs. Use it to skip a night while building, freeze the light for screenshots or read the day count for a map or a data pack.

Syntax

/time add <time>
/time of <clock> (add|pause|query|rate|resume|set)
/time pause
/time query (gametime|time|<timeline>)
/time rate <rate>
/time resume
/time set (<time>|<timemarker>)
All 19 forms
  • /time add <time>
  • /time of <clock> add <time>
  • /time of <clock> pause
  • /time of <clock> query time
  • /time of <clock> query <timeline>
  • /time of <clock> query <timeline> repetition
  • /time of <clock> rate <rate>
  • /time of <clock> resume
  • /time of <clock> set <time>
  • /time of <clock> set <timemarker>
  • /time pause
  • /time query gametime
  • /time query time
  • /time query <timeline>
  • /time query <timeline> repetition
  • /time rate <rate>
  • /time resume
  • /time set <time>
  • /time set <timemarker>
/time add
/time add <time>
ArgumentExpectsWhat it does
timeDuration (ticks, or 10s, 2d)Time added to the clock, e.g. 1d or 6000. Negative values are accepted and turn the clock back.
/time ofAdded in 26.1
/time of <clock> (add|pause|query|rate|resume|set)
ArgumentExpectsWhat it does
clockID · world_clockWorld clock to act on: minecraft:overworld or minecraft:the_end. Usable from any dimension.
timeDuration (ticks, or 10s, 2d)Amount of time. A plain number counts ticks; add d for days of 24,000 ticks, s for seconds or t.
timelineID · timelineTimeline to read: minecraft:day for the time of day, minecraft:moon for the moon cycle, or villager_schedule.
rateNumber0 to 1,000Speed multiplier of the clock, from 0.00001 to 1000. 2 runs twice as fast, 1 is normal.
timemarkerResource IDNamed point of a timeline: day, noon, night or midnight on the Overworld clock.
All 9 forms
  • /time of <clock> add <time>
  • /time of <clock> pause
  • /time of <clock> query time
  • /time of <clock> query <timeline>
  • /time of <clock> query <timeline> repetition
  • /time of <clock> rate <rate>
  • /time of <clock> resume
  • /time of <clock> set <time>
  • /time of <clock> set <timemarker>
/time pauseAdded in 26.1
/time pause
/time query
/time query (gametime|time|<timeline>)
ArgumentExpectsWhat it does
timelineID · timelineTimeline to read: minecraft:day for the time of day, minecraft:moon for the moon cycle, or villager_schedule.
All 4 forms
  • /time query gametime
  • /time query time
  • /time query <timeline>
  • /time query <timeline> repetition
/time rateAdded in 26.1
/time rate <rate>
ArgumentExpectsWhat it does
rateNumber0 to 1,000Speed multiplier of the clock, from 0.00001 to 1000. 2 runs twice as fast, 1 is normal.
/time resumeAdded in 26.1
/time resume
/time set
/time set (<time>|<timemarker>)
ArgumentExpectsWhat it does
timeDuration (ticks, or 10s, 2d)at least 0Absolute clock value to jump to, 0 or more, in ticks or with a unit.
timemarkerResource IDNamed point of a timeline: day, noon, night or midnight on the Overworld clock.
All 2 forms
  • /time set <time>
  • /time set <timemarker>

Examples

Skip to the morning

/time set day

Jumps the clock of your dimension to the day marker, 1000 ticks into the day.

Java 26.3

Set noon from any dimension

/time of minecraft:overworld set noon

Sets the Overworld clock to noon, even while you stand in the Nether or the End.

Java 26.3

Move forward one full day

/time add 1d

Adds 24,000 ticks to the clock. The moon also moves on to its next phase.

Java 26.3

Count the days played

/time query minecraft:day repetition

Shows how many full days the day timeline has completed on this clock.

Java 26.3

Freeze the time

/time pause

Stops the clock of your dimension. /time resume starts it again.

Java 26.3

Make days pass twice as fast

/time rate 2

The clock now advances at double speed. /time rate 1 restores the normal speed.

Java 26.3

Save the day count in a score

/execute store result score @s days run time query minecraft:day repetition

Writes the number of days to the days objective, created first with /scoreboard objectives add days dummy.

Java 26.3
Interactive tool

Command generator

Fill in the fields, copy the command, paste it in the chat. Syntax checked against Java Edition 26.3.

Turn on JavaScript to use the interactive version.

/time set day

Calculated from the Java Edition 26.3 game files

Clocks, timelines and markers

In 26.3, time belongs to a world clock. The Overworld and the End each have their own, the Nether has none. Plain /time set day acts on the clock of the dimension you are in, while /time of minecraft:overworld set day targets a clock by name from anywhere.

A timeline is a cycle that follows a clock. minecraft:day lasts 24,000 ticks and minecraft:moon 192,000 ticks, eight days for all moon phases. /time query minecraft:day gives the position in the current day, and repetition counts the days already passed. The markers day, noon, night and midnight come from the day timeline.

Common errors

  • "There is no default clock in dimension ...": you ran /time in the Nether without of.
  • "Time marker ... does not exist for clock ...": the End clock has no day marker, add of minecraft:overworld.
  • A plain number is read as ticks: /time add 20 is one second, not twenty.

Useful combinations

To stop the day and night cycle, use /time pause or the rule advance_time with /gamerule. /weather handles rain on its own. /tick slows the whole game, not only the clock, and /execute store saves any query result in a score.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

/time: FAQ

How do I stop the day and night cycle?

Run /time pause to stop the clock and /time resume to restart it. Setting the game rule advance_time to false also keeps the time of day still.

Why does /time set day not work in the Nether?

The Nether has no clock of its own. Use /time of minecraft:overworld set day, which works from any dimension.

How do I use /time?

Type it in the chat with cheats on: /time add <time>.

Who can use /time?

Cheats on, or operator level 2.

Copy & paste lists with /time

Related commands