This is arbitrary if you dont work with ethereum, but if you want to make ethereum dapps, you should know that javascript timestamps are millisecond-based, and ethereum timestamps are second-based. You do not know the pain i went through to discover i needed to multiply my ethereum block timestamp by 1000 to get the right value in javascript
1
u/CARFREESINCE84 May 28 '19
This is arbitrary if you dont work with ethereum, but if you want to make ethereum dapps, you should know that javascript timestamps are millisecond-based, and ethereum timestamps are second-based. You do not know the pain i went through to discover i needed to multiply my ethereum block timestamp by 1000 to get the right value in javascript