Under Setup > Accounting > Accounting Prefer...
# accounting
m
Under Setup > Accounting > Accounting Preferences, are you aging based on Transaction Date or Due Date?