deal date logic