How to Use the Set Time Command in Minecraft

Need to quickly get rid of the undead? Set the time to day!

The /time set command in Minecraft allows the user to change the time of their world to a specific part of the Minecraft day cycle. It can be changed to specific keyword times or to Minecraft ticks (fractions of a second) of the day cycle. The guide below explains how to use it.

Java

There are two options for syntax in Java. They are as follows:

  • #1: /time set <TimeSpec>
    • Example: /time set day
    • Result: Sets the time to the start of the day in the Minecraft day cycle.
  • #2: /time set <time>
    • Example: /time set .5d
    • Result: Sets the time to 12000 ticks (half of a Minecraft day cycle).
    • Example: /time set 10000
    • Result: Sets the time to 10000 ticks of a Minecraft day cycle.

Arguments

  • <TimeSpec>: Keyword arguments with preset definitions for time. Must be set to day, night, midnight, or noon.
  • <time>: Manually entered part of the Minecraft day that allows for better customization of setting the time. Must be set according to the 24000 tick Minecraft day cycle. Has optional additional arguments.
    • <d>: A full Minecraft day.
    • <s>: A real-world second (20 game ticks).

Related: Best Minecraft Challenge Maps

Bedrock

There are two options for syntax in Bedrock. They are as follows:

  • #1: /time set <time: TimeSpec>
    • Example: /time set day
    • Result: Sets the time to the start of the day in the Minecraft day cycle.
  • #2: /time set <amount: int>
    • Example: /time set .5d
    • Result: Sets the time to 12000 ticks (half of a Minecraft day cycle).
    • Example: /time set 10000
    • Result: Sets the time to 10000 ticks of a Minecraft day cycle.

Arguments

  • <time: TimeSpec>: Keyword arguments with preset definitions for time. Must be set to day, night, midnight, noon, sunrise, or sunset. The sunrise and sunset TimeSpecs are only available in Bedrock.
  • <amount: int>: Manually entered part of the Minecraft day that allows for better customization of setting the time. Must be set according to the 24000 tick Minecraft day cycle. Has optional additional arguments.
    • <d>: A full Minecraft day.
    • <s>: A real-world second (20 game ticks).

Those are the basics for using the /time set command! For additional Minecraft guides and content, be sure to visit our Minecraft homepage!

Using the Set Time command is helpful while making Puzzle Maps in Minecraft! Check out our full list of the Best Puzzle Maps to get some ideas for creating your own!

Follow us on Twitter and Facebook to get updates on your favorite games!

About the Author

Freelance writer and jack-of-all-hobbyist-tech-development-trades (website, game, and program). My passion is to create content that entertains and makes people think critically.

Recently Updated Minecraft Posts

Leave a Comment

Comments are on moderation and will be approved in a timely manner. Please read the following rules before commenting:

  • All comments must be on topic and add something of substance to the post
  • No swearing or inappropriate words
  • No asking or begging for anything free
  • Do not attempt to start a poll in the comments
  • Comments in all CAPS will be removed
  • We reserve the right to remove a comment for any reason
  • Do not impersonate a staff member or influencer

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.