MC ToolboxMC TOOLBOX

Minecraft Time & Weather Commands

Generate /time, /weather, and gamerule commands. Works for Java and Bedrock Edition.

Time Controls
Operation
Time of Day
Gamerule
Daylight cycle: enabled
Weather Controls
Weather Type
Duration (seconds)
Gamerule
Weather cycle: enabled
Generated Commands
/time set
/time set 6000
/weather
/weather clear
/gamerule doDaylightCycle
/gamerule doDaylightCycle true
/gamerule doWeatherCycle
/gamerule doWeatherCycle true
Tip: 24,000 ticks = 1 full Minecraft day (20 real minutes). Use /time add to advance time without resetting it.

Frequently Asked Questions

How long is a Minecraft day?

One full day/night cycle is 24,000 ticks, equal to exactly 20 real-world minutes (at default game speed).

Can I freeze time permanently?

Yes — toggle "Daylight cycle" off. This sets /gamerule doDaylightCycle false, freezing the sun and moon in place.

What does the weather duration do?

It controls how many seconds the weather persists before changing. Leave it blank and the game picks a random duration.

Do these commands work on Bedrock?

Yes. /time, /weather, and /gamerule use identical syntax in both Java and Bedrock editions.