I trying to calculate number of days between one date and another. I have good idea of how to do this but not sure efficient. What is the proper algorithm? How you also compute new date given one date and a number of days? Please keep algorithm simple as possible.