Does the mktime() library function adds an offset of 10 days to the output value?
I tried to implement a mktime() function myself, but noticed the lack of 10 days from the output value.
So, if I convert a (time_t) 1234567890 value to a (struct tm) and later converts it back (with my pseudo mktime() function) to a (time_t), the result is 1233703890 ( = 1234567890 - 10*24*60*60 )
Thank you.
I tried to implement a mktime() function myself, but noticed the lack of 10 days from the output value.
So, if I convert a (time_t) 1234567890 value to a (struct tm) and later converts it back (with my pseudo mktime() function) to a (time_t), the result is 1233703890 ( = 1234567890 - 10*24*60*60 )
Thank you.