about time #10430
-
I'm in New Zealand. The local time is (2023, 1, 7, 9, 53, xx, xx, x) Question:
I tried to use
it still come back as NZ time. Nothing changed. By the way after Many thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Are you using Thonny? By default, it sets your attached MicroPython device to your localtime. ntptime.settime() doesn't take parameters or know anything about timezone. You will always get UTC |
Beta Was this translation helpful? Give feedback.
Are you using Thonny? By default, it sets your attached MicroPython device to your localtime.
ntptime.settime() doesn't take parameters or know anything about timezone. You will always get UTC