I have a Date in "yyyymmdd" and I need to add or remove a amount of time.
I'm a perl programmer and in perl I can use timelocal method to convert a date array (+- struct tm) in time_t structure make the calculation and after that I use localtime to reconvert the date to the format I need (+- struct tm).
Is there a way of doing this in C/C++?
Did someone did that?
There is a better way of doing it?