-->
Page 1 of 2

Question about "time()"

PostPosted: Thu Aug 04, 2016 2:10 am
by lew247
Where does the ESP get it's time from?
I've noticed when powered up and asked for the time it's Thu Jan 01 00:00:00 1970
yet if you do the same again a little further down the program it gives the correct time.
I presume it gets of off the web somehow?
Can you tell us where from, how it gets it and how often it's updated?
Will the time stay valid if the internet connection is lost? ie does it have an RTC or will it only be valid if connected to the internet?

Re: Question about "time()"

PostPosted: Fri Aug 05, 2016 3:12 am
by lew247
Nobody knows???

Re: Question about "time"

PostPosted: Mon Aug 08, 2016 1:54 am
by lew247
Surely SOMEONE must know the answer to this? the time cannot magically appear? or does it :)

Re: Question about "time()"

PostPosted: Mon Aug 08, 2016 1:57 am
by Mmiscool
It come from the national time institue.