What Is the Technical Mechanism for Determining Time on a Blockchain?
Blockchains typically use the block number or the timestamp recorded in the block header to determine time. Relying on the block number is more reliable, as block times are generally consistent.
Block timestamps are less reliable because miners can slightly manipulate them. This on-chain time is used to trigger time-sensitive functions like time-locks or option expirations.