Calculating due days for display