Minecraft wiki entry for time, associated text: in Java Edition, once executing /time set day or time set 1000, the "internal daytime" is set to 1000, so the "day" value returns to 0.
However, in Bedrock Edition, if now the "internal daytime" is 25001 (1 day + 1001 ticks), after executing /time set day or /time set 1000, it won't become 1000 or 25000, since it can only increase. In fact, it turns into 49000 (2 days + 1000 ticks), and the "day" value becomes 2.