What the halving is, how the expected date is worked out and why it moves.
هذا القسم لم يُترجم إلى لغتك بعد، لذا يُعرض باللغة الإنجليزية.
Every 210,000 blocks the bitcoin block reward is cut in half. That is the halving, roughly every four years. The halving countdown shows how long is left.

epoch = ⌊current block ÷ 210,000⌋ halving block = (epoch + 1) × 210,000 blocks left = halving block − current block expected time = now + blocks left × average block time reward = 50 ÷ 2^epoch BTC
The average block time comes from mempool.space for the current difficulty period. The protocol aims for one block every 10 minutes, but blocks come faster or slower with the hashrate.
So while the halving is far away, the date can move by several days. The halving block number never changes.