Whats the best way to do DateDiff type functions in c++.

I need to be able to take a date, and add or subtract days, taking into account the different number of days in a given month.


?


td.