#7: Distance in days function