I converted my answer in comment, because, how Ellotris said although it's technically correct it's generic and do not help anyone. I agree and I will try be more helpful.
Original answer
It's random. The day and the time are random.
"This Mini World Change will start at a random time during a day and end when the thief is caught."
Source: tibia.fandom.com