ESP8266 Developer Zone The Official ESP8266 Forum 2016-07-05T16:50:36+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2117 2016-07-05T16:50:36+08:00 2016-07-05T16:50:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2117&p=7749#p7749 <![CDATA[Re: year 2038 problem on time() and sntp_get_current_timestamp()千年虫2.0问题]]> Statistics: Posted by ESP_Rubin — Tue Jul 05, 2016 4:50 pm


]]>
2016-05-02T06:11:16+08:00 2016-05-02T06:11:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2117&p=6678#p6678 <![CDATA[【Feedback】year 2038 problem on time() and sntp_get_current_timestamp()千年虫2.0问题]]> 如果拿他们做日历时钟的话,走到2038年以后就乱了,尽管很多时钟号称能用到2100年。
而且要是这个物联网模块只能用到2038年的话,寿命也太短了一点。
建议提供以下函数:
suggestion functions: long long time64(),long long sntp_get_current_timestamp64()。
现在改总比到了2037年再改要好一些。

Statistics: Posted by nobk — Mon May 02, 2016 6:11 am


]]>