Fixed variable remainDays counting formula.

Fixed variable remainDays counting formula.