/time

Cheats / op 2Java 26.3

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.

Who can use it
Cheats / op 2
Syntax forms
19
Arguments
5

/time syntax

Game data

Every 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.

/time arguments
ArgumentExpectsLimits
<time>Duration (number with d, s or t)at least -2,147,483,648
<clock>Game ID from a registryworld_clock
<timeline>Game ID from a registrytimeline
<rate>Number0 … 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.

Report an Issue

/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).