Converts dates to be in a 'days from index date' format