Hi,
How i can get date difference in Months and Days?
Is there functions i can use to get this?
I'm totally new to C.
Thanks for anykind of help,
Rwe
Printable View
Hi,
How i can get date difference in Months and Days?
Is there functions i can use to get this?
I'm totally new to C.
Thanks for anykind of help,
Rwe
There's difftime() in time.h
How are you representing your time values to begin with?
I'm passing all six component idenpendantlay. Like M1, D1, Y1 and M2, D2, Y2
So you could call mktime() for those two times, then do a difftime() between them?