classstuds::SntpClient
sys::Obj studs::SntpClient
SntpClient retrieves network time using SNTP protocol.
- offset
static Duration offset(IpAddr host, Int port := 123, Duration timeout := 10sec)
Request the time offset between the current system clock and the given NTP host. Note that NTP requires the requesting host be within 34 years of the server time. Therefore if a system has not had time configured, it should be set a date close to the present.