Getting the difference between dates
Hello again. What I need to do this time is get a date from the user and then compare it to the current date, to see if there are more than (int days) inbetween those two dates. I looked up a few bits in Google, but I only found a function using strptime which isn't in my time.h.
Any ideas that would get me going? I have a procedure in my mind that could do it (convert both dates into days by month * 28, month * 29, month * 30, month * 31 respectively) but it's really, really lengthy and I want to avoid it.