I can not seem to figure out how to get the difference from a future date and the present date. I use:
Code:
time_t current;
time(&current);
to get the current time but i am not sure how to set a future time. I found a post showing how the difftime (time_t time1,time_t time2) works but i am not sure how to set time_t to anything other then getting the current time. Thanks in advance.