How can I get the current time in Solidity. I don't need the current block's time given by
block.timestamp, but rather the actual current time.
Thank you for your help!
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
Within the Ethereum Virtual Machine, there isn't a way to get the current time, other than the block time. So there is no way to get it in Solidity.
There is disagreement between computers about what the current time is, and Ethereum needs to run every transaction with exactly the same outcome on every node.
Outline what you're trying to accomplish and ask about that.