You must specify the Aging Interval in Settings > Billing & Invoices > Accounts Receivable. It sets the time interval for all invoices and gets reflected on the aging reports accordingly. Please note that the aging interval has to be greater than zero and the aging is based on the invoice date.