I want to make sure that the block.timestap that keep on running is represent today's date. I can get from this code but not really sure is this the right way.
function isTodayDate() view public returns(bool) {
uint _block = block.timestamp;
uint _today = _block + 1 days - 1 days;
return (_block == _today);
}
Is there another better right code?