Being new to solidity, I find the docs on the Internet very confusing. I simply want to add 7 years to a
uint timeInSevenYearsFromNow = (block.timestamp).add(????);
What is the value of ????
and how do I calculate it ? Is it 220898482 ?
Yes, this is a noob question. I do not care how precise or exact it will be when executed, whether it is off by a nano-second or several minutes.
days
and*
? It's more readable and adds zero cost since the constants get expanded out at compile time