/time
Changes or queries the in-game time. Can set time to specific values or named periods (day, night, noon, midnight).
Syntax
/time <add|query|set> <value>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| action | literal | Required | add = add ticks; query = display time; set = set time. |
| value | integer | Required | Time in ticks, or a named value (day=1000, noon=6000, night=13000, midnight=18000). For query: daytime, gametime, or day. |
Examples
/time set daySets the time to dawn (1000 ticks).
/time add 24000Advances the time by one full Minecraft day (24000 ticks).
/time query daytimeDisplays the current time of day in ticks (0-24000).
Common Mistakes
- Confusing 'day' (1000 ticks, sunrise) with 0 ticks (6:00 AM), named values correspond to specific times, not 0.
- Not realizing /time set resets the day counter, use /time add to preserve the day count.
Notes
One Minecraft day = 24000 ticks = 20 real-time minutes. Named times: day=1000, noon=6000, sunset=12000, night=13000, midnight=18000, sunrise=23000.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting