arduino-libraries / NTPClient

Connect to a NTP server
542 stars 372 forks source link

getEpochTime should optionally accept timezone offset #68

Open holla2040 opened 5 years ago

holla2040 commented 5 years ago

use case: applications requires both UTC (for data logging) and time display in localtime (for dashboard or displays). I'm currently using setTimeOffset method for this, which requires 2 calls, before and after getEpochTime. This is acceptable but an getEpochTime offset parameter is preferred. Thanks.

bill-orange commented 5 years ago

Ditto. I would also find this useful for the same reason.