What is the `zero` value for time.Time in Go?
You should use the Time.IsZero() function instead: func (Time) IsZero or func (t Time) IsZero() bool IsZero reports whether t represents the zero time instant, January 1, year 1, 00:00:00 UTC.
You should use the Time.IsZero() function instead: func (Time) IsZero or func (t Time) IsZero() bool IsZero reports whether t represents the zero time instant, January 1, year 1, 00:00:00 UTC.
ntpq -p ntp.ubuntu.com From man ntpq: … -p Print a list of the peers known to the server as well as a summary of their state. This is equivalent to the peers interactive command. … Edit: The host is timing out right now. ntpq -p pool.ntp.org will return a valid result.
Jeff, I found this article. Might be of some help to you. You might have already read this but I thought it was worth a shot. HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags This registry entry controls whether the local computer is marked as a reliable time server (which is only possible if the previous registry entry is set to NTP … Read more