Talk:Commands/time

Can we please get an explanation for the parameters on /time query? Specifically, what do the values returned mean for day, daytime, and gametime?

I recently queried all three, and received values of 53, 2102, and 4307368, respectively. My guess (which was wrong, apparently) is that the 53 is the number of days since I started the game, 2102 is the time of the current day, and 4307368 is the number of game ticks since inception. But, if that last value is divided by 24000, it returns about 179, which isn't 53. So I'm very confused.

Can someone please explain these values? Once I understand, maybe I'll write it up on this page.

Thank you! SirDaddicus (talk) 15:32, 13 July 2021 (UTC)


 * You must have used the /time set command to change time. /time set command is used to set in-game daytime.
 * As already mentioned on the page,
 * gametime is the number of game ticks since inception modulo 2147483647
 * daytime = the in-game daytime modulo 24000
 * day = the in-game daytime divided by 24000, then modulo 2147483647
 * So you maybe have used /time set more than 53 days(in-game time) ago to set the in-game daytime to a new small value.--Chixvv (talk) 16:31, 13 July 2021 (UTC)