Starting to build date logic.