I can get the current time and date with gettime and strftime, this is
not a problem. What I also need is a way to calculate what the date is a
week from now. For instance, if my program happens to run on 03/30/2000.
I need to generate somehow a string that says 04/06/2000. Rolling my own
for this of course is possible, but this is such a common problem I
think their must be a common, tried and true solution. With the
structure vars (I'm talking about a C or C++ solution) I can increment
the day, but is there an easy way for me to program the logic that the
month or year may need to roll up as well?
Thanks in advance for all inqueries.
"That vulnerability is completely theoretical." -- Microsoft