Are you asking how to transform UTC to LocalTime according to your TimeZone ?
Simply add +2*60*60 to the NTP value and then pass the result to Time.setTime().
Explore... Chat... Share...
Moderator: igrr
martinayotte wrote:If you are using Time library from Paul Stoffregen, there is no concept of timezone.
https://github.com/PaulStoffregen/Time/ ... /TimeLib.h
setTime(now()+7200); /// + 2h = 7200
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]