Logic for calculating balances includes current date math