What's the best way to store a date in a smart contract?
from Telegram Chat Import
In developing for blockchain it's important to save space, so it seems better to store the dates in 32-bit integers instead of 64-bit. But blockchain is also meant to be "forever", and the dates will fit in the 32-bit integers only till the year 2038. So what is considered the best practice: using 64-bit integers (to future-proof the contracts) or 32-bit (to save space)?
---
> This question was imported from Telegram Chat: https://t.me/tondev/45383
š Answer on TON Overflow
Feb 14, 2023, 4:20 PM