Dates for Finance in C++: Year Fractions

When calculating the value of money, a key factor is the time it is held. While this may seem obvious, there are many different ways this…