Block ↔ date
Convert between a block height and a moment in time, in either direction. Past blocks read real timestamps from the chain, handling the fact that only transaction blocks carry one. Future blocks and dates are projected from the block rate the network is actually running at.
Past blocks read their real timestamp from the chain. Chia records one only on transaction blocks, roughly a third of them, so this takes the nearest transaction block at or after the block you ask for, and says which one it used. Future blocks are projected instead.
Past dates are matched to a real block by searching the chain, and shown with the transaction blocks either side of the moment, since only those carry a time. Future dates are projected from the observed block rate.

