
/time
Sets or queries the time of day. Its basic form is /time add <time>; it has 19 syntax forms and 5 arguments. Permission: Cheats / op 2.
/time syntax
Game dataEvery form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.
/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 examples
Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.
/time set day- Sets the time to morning.
/time set night- Sets the time to night.
/time add 1000- Skips 1,000 ticks (50 seconds) ahead.
/time arguments
What each argument expects, with the limits the game enforces.
| Argument | Expects | Limits |
|---|---|---|
<time> | Duration (number with d, s or t) | at least -2,147,483,648 |
<clock> | Game ID from a registry | world_clock |
<timeline> | Game ID from a registry | timeline |
<rate> | Number | 0 … 1,000 |
<timemarker> | Namespaced ID (minecraft:…) | — |
Related commands
Data: Minecraft Java Edition 26.3 game files. How we source this
Sets or queries the time of day. It has 19 syntax forms and can be run by: Cheats / op 2.
See Also
Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.
/time FAQ (Java 26.3)
What does /time do in Minecraft?
Sets or queries the time of day.
What is the syntax of /time?
The basic form is /time add <time>. All forms are listed above.
What is an example of /time?
/time set day — Sets the time to morning.
Do you need cheats for /time?
Yes: Cheats / op 2. In singleplayer turn on Allow Cheats (or open to LAN with cheats).