Get an array of timestamps between 2 points with a configurable resolution