Command-line tool to ask remote server for current date-time
24
votes
2
answers
60020
views
On Mac OS X (such as 10.8 thru 10.11) is there a bundled command-line tool to ask a specific remote NTP time server for the current date-time?
I found
ntpdc
but this queries the ntpd
utility which I assume means going through my already-defined NTP servers. I want to make a call outside of my pre-defined NTP servers.
Like this imaginary line where -s
means server-address:
ntpclient -s time.euro.apple.com current
Asked by Basil Bourque
(13982 rep)
Apr 9, 2016, 12:11 AM
Last activity: Apr 9, 2025, 02:06 AM
Last activity: Apr 9, 2025, 02:06 AM