Code has been added to clipboard!

Managing Time With Solidity Variables

Example
function f(uint start, uint daysAfter) public {
    if (now >= start + daysAfter * 1 days) {
      // ...
    }
}