This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/msp430f5418a: gmtime is off 29 days when converting from a Unix Time.

Part Number: MSP430F5418A

Tool/software: TI C/C++ Compiler

I have a function which is being passed a tm based on a unix epoch of 1970. I am adding the requisite 2208988800 seconds yet  gmtime is off by '29 days, 19:59:51'.  gmtime(2208988800) does return 1/1/1970 04:00:00, which is correct considering the time zone.  Does anyone have any suggestions?

Thank You ,

Paul