17-04-2021, 05:31
Hi Colin,
Thank you.
Whenever you need UTC time in epoch format, you can use:
As said, it was a great pleasure read from you again.
Keep safe, take care.
(17-04-2021, 04:27)41south Wrote: ...
But I am please top report that both the time and sending MQTT payloads are now working just fine on version 4.
...
Thank you.(17-04-2021, 04:27)41south Wrote: ...
(which turned out to be a little tricky because I needed it in UTC time in epoch format)
...
Whenever you need UTC time in epoch format, you can use:
Code:
time_t UTC_time = myTZ.toUTC(now());As said, it was a great pleasure read from you again.
Keep safe, take care.

