Calculation of the amount after a specific time period