Replies: 2 comments 1 reply
-
Have a read through this: I have to do a manual entry once a year in my implementation, which I will post if you can't get something working. davef |
Beta Was this translation helpful? Give feedback.
1 reply
-
Have a look at the datetime package in micropython-lib, it can handle DST. There are examples in the test_datetime.py file on how to create a timezone with DST. If you are using the latest version of micropython you can install with mip import mip
mip.install('datetime') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good Evening Experts,
It's 19:21mp here in NZ with daylights saving however I found on my pico w, it shows 8:13pm? It looks like its not considering daylight saving, can this be fixed?
Also I'm trying to build a automated update script. By hosting a web server from the folder on laptop, holding files, then automatically updating them to pico using "request" download after testing the mod time. however, the mod time has been turned into gmt. is there a way I can read it back to local time? preferably considering daylight saving.
many thanks.
Beta Was this translation helpful? Give feedback.
All reactions