Fixed date logic.