3 ms·
$ sntp -n 1 time.apple.com | grep t1 t1: E8A36E57.9BB5D031 (3903024727.608242999) # Subtract delta from unix time epoch to NTP epoch # NTP epoc
by DeRock 3y ago
$ sntp -n 1 time.apple.com | grep t1
t1: E8A36E57.9BB5D031 (3903024727.608242999)
# Subtract delta from unix time epoch to NTP epoch
# NTP epoch is January 1, 1900, Unix epoch is January 1, 1970
$ date -r $(expr 3903024727 - 2208988800)
Wed Sep 6 14:32:07 PDT 2023
Works for me.
- askbjoernhansen 3y ago`t1` comes from your computer, so since I told OP they were looking at the wrong thing I have to point you out did as well. :-)
- vkoskiv 3y agoYou're just querying time.apple.com, not 17.253.14.253 specifically.