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
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?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.