Control and Check World Time with /time
The /time command in Minecraft Java Edition lets you control and inspect the clocks running in your world. You can jump to a specific time, shift the clock forward or backward, pause the flow of time, or adjust how fast time passes.
Players and mapmakers use this command when building, testing redstone or command systems, or setting up custom scenes where the time needs to move at a specific speed or stay completely frozen. To use it, you need permission level 2 (Operator or cheats turned on in single-player).
/time add <time>/time of <clock> add <time>/time of <clock> pause/time of <clock> query <timeline> [repetition]/time of <clock> query time/time of <clock> rate <rate>/time of <clock> resume/time of <clock> set <time>/time of <clock> set <timemarker>/time pause/time query <timeline> [repetition]/time query gametime/time query time/time rate <rate>/time resume/time set <time>/time set <timemarker>/time set <time>/time set <timemarker>/time add <time>/time pause/time resume/time rate <rate>/time query time/time of <clock> set <time>| Argument | Type | What it means |
|---|---|---|
<time> | time at least -2147483648 | A time duration (at least -2147483648) written in ticks like 100, seconds like 5s, or days like 2d. |
<clock> | registry entry world clock | A registry entry that specifies which world clock you want to control or query. |
<timeline> | registry entry timeline | A registry entry that specifies a timeline to query. |
<rate> | decimal number 1e-05 to 1000.0 | A decimal number between 1e-05 and 1000.0 that sets the speed of time. |
<timemarker> | resource ID | A namespaced resource ID representing a specific time marker. |
/time set 100Sets the current time to 100 ticks.
/time add 5sAdds 5 seconds to the current time.
/time add 2dAdvances the current time by 2 days.
/time pauseFreezes the clock so time stops advancing.
/time resumeStarts the clock again after it was paused.
/time rate 0.5Slows the flow of time down to half of its normal speed.
/time rate 10.0Speeds up the clock so time passes ten times faster.
/time query gametimeChecks the total game time value.
Measured from the game files of every Java release from 1.13 to 26.3.
+ /time of <clock> add <time>+ /time of <clock> pause+ /time of <clock> query <timeline> [repetition]+ /time of <clock> query time+ /time of <clock> rate <rate>+ /time of <clock> resume− /time query day− /time query daytime− /time set day− /time set midnight− /time set night− /time set noonand 8 moreMinecraft Bedrock Edition also has the /time command, but it only supports four basic syntax forms: /time add <amount: int>, /time set <amount: int>, /time set <time: TimeSpec>, and /time query <time: TimeQuery>. Bedrock Edition does not include the pause, resume, rate, or specific world clock (of <clock>) options found in Java Edition 26.3.
In Java Edition 26.1, the syntax changed and older forms like /time set day, /time set midnight, /time query day, and /time query daytime were removed. You should now use /time set <time> or /time set <timemarker> instead.
You can stop time completely by running /time pause and start it again with /time resume. If you want time to keep moving at a slower or faster speed, use /time rate <rate> with a decimal number between 1e-05 and 1000.0, such as 0.5.
You need permission level 2 to run the /time command, which means you must be a server operator or have cheats enabled in a single-player world.
/clone/difficulty/fill/fillbiome/forceload/gamerule/locate/place/seed/setblock/setworldspawn/waypoint/weather/worldborder