Added the calculation between two dates to my library of code