Here's how to get a more accurate RTC clock set from an NTP time server

It looks good. To take it any further and squeeze even more accuracy out of it, the next step would be to build a full NTP client instead of simply using SNTP to grab a timestamp on demand.

1 Like