total days as well as remain days also calculated