Begin date grid logic