Search found 1 match

by moinologics
Wed Jun 16, 2021 9:38 pm
Forum: ESP8266 boards
Topic: utime.localtime() giving 00:00 in hh:mm format
Replies: 2
Views: 1820

utime.localtime() giving 00:00 in hh:mm format

when my esp-12f board boots up, in main.py i called utime.localtime() function but it giving me 0 and 0 for h and m when i call same function from webrepl console, it giving me time correctly. so how i get correct localtime in main.py file. Board - esp8266, esp-12f micropython - v1.15 note - i need ...