date time system
Posted: Thu Jul 11, 2019 7:53 pm
Hello!
I'm in the development phase of a project so I print the date time each time I reboot my device with the print command (time.localtime ()). And sometimes comes the result (2000, 1, 1, 0, 0, 4, 5, 1) which is the starting time date. But sometimes I get the correct correct date time. However I did not do anything to set this system time. Where does my ESP32 get this time? Is it safe to use it?
I'm in the development phase of a project so I print the date time each time I reboot my device with the print command (time.localtime ()). And sometimes comes the result (2000, 1, 1, 0, 0, 4, 5, 1) which is the starting time date. But sometimes I get the correct correct date time. However I did not do anything to set this system time. Where does my ESP32 get this time? Is it safe to use it?