-->
Page 2 of 2

Re: Timesetup Not Working ESP Basic 3.0.Alpha 65

PostPosted: Sun Apr 02, 2017 8:29 pm
by heckler
Mike,
I just downloaded and flashed into my nodemcu module with 4meg flash with 3.0 A69

time.setup(-7,1)
and
time.setup(-7,0)

both return the same value, which is standard time
I am unable to get DST


The docs do not give enough detail as to how to properly use time.setup(zone,dst,server)

Could you please show us how to use the time.setup function?
Some example code or something?

thanks
dwight

Re: Timesetup Not Working ESP Basic 3.0.Alpha 65

PostPosted: Tue Mar 31, 2020 5:56 pm
by Esko
tz = +1
dst = 1
DST still not working in time.setup(tz,dst)
or am i wrong somewhere?

Re: Timesetup Not Working ESP Basic 3.0.Alpha 65

PostPosted: Mon Jan 17, 2022 4:30 am
by Majo
Hello together,

with the setting -> time.setup(0,1,"0.uk.pool.ntp.org") my Wemos D1 shows me 01.01.1970 00:00:00.
Unix Time starts.

What I am doing wrong? I want to setup my local Timezone, so i have not to change between European Summer- or Wintertime.

Does anyone have a working code example? Or is it still a bug?

Regars
Marco