adds how many days are left to index page