Minecraft time and tick converter

Building

Convert time to ticks and generate /time setLearn more

Enter a time — get the tick and a ready command /time set. Tick 0 is six in the morning, not midnight: this is where the confusion stems from.

My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

Result

Command /time set
06:0012:0018:0000:00
Tick
0
Up to seven in format, but nine cells in the crafting table, and gunpowder takes its own space: with three gunpowder items in a rocket, five stars can be placed.
10:50 real time

The command

/time set 0

What else can be done with time

Stop time

/time set changes the current time but does not freeze it. The second command disables the daylight cycle. Before 1.21.11, that game rule was named doDaylightCycle.

/gamerule advance_time false
/gamerule advance_time true

Permanent daytime

One command isn't enough: first set the day, then stop time flow. For eternal night, use 'night' instead of 'day'.

/time set day
/gamerule advance_time false

Fast-forward one day

/time add adds to the current time, not sets an absolute value: 24000 is exactly one day, 1000 is one game hour.

/time add 24000

Find out what time it is now

daytime — time within a day, from 0 to 23999. Nearby are day (day number, affects moon phase) and gametime (all ticks since world creation).

/time query daytime

Night skips one sleeping player.

The rule calculates the percentage of players who need to be in bed, defaulting to 100. A value of zero means any single player is sufficient. Before 1.21.11, this rule was called playersSleepingPercentage.

/gamerule players_sleeping_percentage 0

What happens at each tick

Minecraft Daily Key Moments: tick, clock time, event, and command word
Tick Time What happens The word in the command
0 06:00 Dawn begins. Players wake up, tick 24000 — that's it. —
1000 07:00 Day. The sun has risen. day
6000 12:00 Noon. The sun is at its zenith. noon
12000 18:00 Start of sunset —
12542 18:33 You can go to sleep. In clear weather; undead stops glowing. —
13000 19:00 Night night
13188 19:11 Mobs begin spawning. Under open sky, in clear weather. —
18000 00:00 Midnight. The moon is at its zenith. midnight
22812 04:49 Mobs stop spawning. Under open sky, in clear weather. —
23000 05:00 Start of dawn —
23460 05:28 Sleeping is no longer possible. Zombies start glowing again. —

How to use the result

  1. Paste the command into chat

    Operator permissions are required. Time will change for all players in the world at once — everyone will have the same day.

  2. Need permanently — stop

    /gamerule advance_time false After installation: days will align to this moment (What else this rule can do).

  3. Check how many are online currently

    /time query daytime Responds to ticks — these are entered in step 1.

What to know about time

  • Tick 0 is six in the morning. Not midnight. Midnight is 18000, noon is 6000. That's where the phrase 'set to zero, and it became morning' comes from: in the game, days start at dawn, not at calendar midnight.
  • Gameplay hour — exactly 1000 ticks, a day is 24000 ticks. A game minute is 16⅔ ticks, so it cannot be represented by a whole number of ticks.
  • Days last 20 minutes of real time. One tick is 1/20 of a second. The cycle breaks down into 10:00 of daytime, 0:50 of sunset, 8:20 of night, and 0:50 of sunrise.
  • Only four words: day, noon, night, midnight. sunrise and sunset is supported only by Bedrock Edition and causes an error in Java. Numeric values work for any time, so the command above uses a number.
  • /time set sets the time /time add adds. Phantoms depend on how long a player has gone without sleep, not the time of day. Neither time command resets that counter. Sleep to reset it, or use /gamerule spawn_phantoms false.
  • Numbers in the table are for clear weather. In rain, you can sleep starting at 12010, and mobs appear under open sky starting at 12969 — earlier than during clear days. Thunder adds daytime darkness to this.

Values are verified against Minecraft Wiki (Daylight cycle → 24-hour Minecraft day) and apply to Java Edition.

Frequently asked questions

What time in Minecraft represents night?

Night starts around tick 13000, dawn around 23000. Tick 0 is six in the morning, not midnight: that's where the confusion comes from.

How to stop time in Minecraft?

With the command /gamerule advance_time false (until 1.21.11 — doDaylightCycle). To create a permanent day, use two commands in strict order: first set the day, then stop time progression.

How long are Minecraft days?

24000 ticks, or twenty real minutes. Twenty ticks per second, and one in-game hour equals exactly 1000 ticks.