I\'m trying to write a Date class in an attempt to learn C++.
I\'m trying to find an algorithm to add or subtract days to a date, where Day starts from 1 and Month s
I'm assuming this is for some kind of an exercise, otherwise you would use a time class that's already provided to you.
You could store your time as the number of milliseconds since a certain date. And then you can add the appropriate value and convert from that to the date upon calling the accessors of your class.