Hello.
Can I somehow apply the time offset (for example +2h) to returned values?
My code syncs with NTP server on startup with UTC epoch (its necessary for metrics posting) but other functions will synchronised to my local time +2 (also it will be displayed on the screen). I could getEpoch() and add offset to it but then i need to somehow convert it to HH:MM:SS format. I'm newbie in coding maybe there's a way to achieve this with this library (I dont want to use another library, i want to keep it simple). Best regards.
Hello. Can I somehow apply the time offset (for example +2h) to returned values? My code syncs with NTP server on startup with UTC epoch (its necessary for metrics posting) but other functions will synchronised to my local time +2 (also it will be displayed on the screen). I could getEpoch() and add offset to it but then i need to somehow convert it to HH:MM:SS format. I'm newbie in coding maybe there's a way to achieve this with this library (I dont want to use another library, i want to keep it simple). Best regards.