Total Pageviews

Showing posts with label incorrect year. Show all posts
Showing posts with label incorrect year. Show all posts

Sunday, March 27, 2022

How to solve the issue with incorrect date/year extract from Unix time (with ESP8266 board)

original article


    A reader of my blogs announce my this issue about wrong conversion of the date/year when extract data from Unix Time (Epoch Time). Also, the solution for this issue is simple, like here: https://github.com/arduino-libraries/NTPClient/issues/149.

I open the Serial Monitor and epochTime is ok, but conversion to date not
- 1st step: TOOLS -> BOARD -> BOARD MANAGER
- 2nd step: ssearch ESP8266
- 3th step: search 2.7.4 version
- 4th step: wait to full install a old file
- 5th step: close Arduino IDE and restart Arduino IDE
- 6th: upload the sketch

    I tested and add some feature for clasical Morphing Clock: