The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged


msg.value.mul(90).div(100) for 90% msg.value.mul(10).div(100) for 10%


Within the Ethereum Virtual Machine, there isn't a way to get the current time, other than the block time. To get current block time stamp we can directly use block.timestamp in solidity. Its returns a time in unix timestamp. Ethereum provides Time unites to facility date computation to a particular level, refer the following document. https://solidity....

Top 50 recent answers are included