time.h in ti-cgt-msp430_20.2.2.LTS. int tm_year; /* years since 1900 */The calculation is wrong. It will be correct if 1970 is replaced.Is that a problem
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.
time.h in ti-cgt-msp430_20.2.2.LTS. int tm_year; /* years since 1900 */The calculation is wrong. It will be correct if 1970 is replaced.Is that a problem
Hi,
Yes, you might need to replace the 1970.
Best regards,
Cash Hao
Another problem has recently been discovered,“gmtime”The number of hours generated by this function is BCD code, and the rest is HEX.And there seems to be no jet lag
**Attention** This is a public forum