Skip to main content
← All Guides
Server Commands

Change the Time With Commands

Control the Minecraft day-night cycle with one line. /time set daynightand midnight jump to a moment, while /time add nudges the clock forward. Below: every tick value, how to freeze the sun, and the fixes when it snaps back.

server console, /time
> /time set day
> /time add 6000
> /time set midnight
[Server] Set the time to 1000
<Server> Sun rises over the spawn
> /time query daytime
Reading the tick clock

Minecraft tracks a day as 24000 ticks, looping from dawn (0) through noon (6000), dusk (12000), and back. /time set snaps to an exact tick; the words daynoonnightand midnight are just friendly aliases for 1000, 6000, 13000, and 18000. Use /time add to move forward relative to now without losing the day counter, then lock it all with /gamerule doDaylightCycle false when you want a permanent setting.

Quick answers

+What is the command to make it day?
Type /time set day. That sets the world to tick 1000, just after sunrise. On the server console, drop the leading slash: time set day.
+How do I skip the night?
Use /time set day to jump straight to morning, or /time add 12000 to advance roughly twelve hours. Either clears the night instantly for everyone in that dimension.
+What tick value is each time of day?
Day is 1000, noon is 6000, sunset is around 12000, night is 13000, and midnight is 18000. The full cycle is 24000 ticks and loops back to dawn at 0.
+Why does the time keep changing back?
The daylight cycle is still running. Lock it with /gamerule doDaylightCycle false, then use /time set to pick the moment you want it frozen at.
+Does /time work on a multiplayer server?
Yes. /time set and /time add affect the whole dimension for all players. You need operator status or a permissions plugin granting minecraft.command.time.
+What is the difference between set and add?
/time set jumps to an exact tick. /time add increases the current time by the amount you give, so /time add 1000 moves forward without resetting the day count.
Hosting
Skip the setup
Get a managed server with one click instead of configuring it all yourself.
Database
Browse every item & ID
Look up tick values, gamerules, and command syntax in the Astroworld reference.
Guide
Change the weather with commands
Pair /time with /weather clear to lock a bright, rain-free world.