Set Time to Day
Change the in-game time to daytime. Run: `/time set day`. Sets the in-game time to daytime (1000 ticks). Named aliases work in both editions: day (1000), noon (6000), night (13000), midnight (18000). You can also use raw tick values directly: /time set 0 for dawn, /time set 6000 for noon. To freeze time permanently after setting it, run /gamerule doDaylightCycle false. Works on Java 26.2 and Bedrock 26.32. Last verified June 2026.
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026/time set day- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste /time set day and press Enter.
- The sun moves to daytime immediately.
- Optional: /gamerule doDaylightCycle false to freeze it there.
Frequently asked questions
Does Set Time to Day work on Bedrock Edition?
Yes -- the same command works on both Java 26.2 and Bedrock 26.32.
Do you need OP or cheats enabled to use Set Time to Day?
Yes -- you need operator permissions (OP) on a server, or cheats enabled in your world settings (Java: open to LAN with cheats on; Bedrock: enable cheats in world settings).
Can Set Time to Day be used in a command block?
Yes -- paste the command into a command block and activate it with a button or redstone signal. Remove the leading slash when using a command block.
Does Set Time to Day work in multiplayer?
Yes -- the command works the same in multiplayer as in singleplayer. Operator permissions may be required depending on your server settings.
Related commands
God Mode (Resistance + Regeneration)
Become nearly invincible
Kill All Mobs
Instantly remove every mob from the world except players
Add Experience Levels
Give yourself XP levels for enchanting
Set Difficulty to Peaceful
Switch to Peaceful mode so hostile mobs don't spawn
Find the Nearest Village
Get coordinates of the nearest village structure
Find the Nearest Stronghold
Locate the stronghold with the end portal
Need something different?
Customize this command in the /execute builder — choose your own options and copy the result.
Learn more
📖Minecraft Commands Not Working -- How to Fix
Troubleshooting guide for Minecraft commands that show errors or do nothing -- covers cheats off, wrong edition, syntax errors, OP permissions, and version changes.