Commands/time

Changes or queries the world's game time.

Syntax

 * Java Edition
 * Adds  to the in-game daytime.
 * Queries current time.
 * Sets the internal daytime.
 * Queries current time.
 * Sets the internal daytime.
 * Sets the internal daytime.
 * Sets the internal daytime.


 * Bedrock Edition
 * Adds  to the internal daytime.
 * Queries current time.
 * Sets the internal daytime.
 * Queries current time.
 * Sets the internal daytime.
 * Sets the internal daytime.
 * Sets the internal daytime.

Arguments

 * Specifies the time to add or set.

lit. 'daytime' or 'gametime' or 'day'
 * Specifies the time to query. Must be,   or.
 * - the number of game ticks since dawn. (the internal daytime modulo 24000)
 * - the age of the world in game ticks. (the game time modulo 2147483647)
 * - the number of in-game days passed. (the internal daytime divided by 24000, then modulo 2147483647)


 * lit. 'TimeSpec' or 'day' or 'night' or 'noon' or 'midnight'
 * Specifies the time to set.
 * Must be,  ,  ,  ,  , or.
 * = 1,000
 * = 13,000
 * = 6,000
 * = 18,000
 * = 23,000
 * = 12,000
 * = 12,000

Examples

 * To set the time to 1,000:  or
 * To add one day to the world time:
 * To change/reset in-game day count to desired number: ; to change day count to day 472 at noon (6000):
 * Since the internal daytime can only be increased $$, this command will only work $$.

History
Befehl/time Comandos/time コマンド/time 命令/time