NETTIME (c) 2014 Allegro Consultants, Inc. www.allegrosupport.com Options: (the uppercase portion is the minimum abbreviation) -Debug1 ... debug mode -Fake ... like -s, but doesn't actually set time -Gmt -Help ... prints this help information & terminate -Immediate... makes -s set the time NOW, not GRADUAL (-i also implies -s) -Settime ... sets time from network server -Timeserver hostname ... specifies timeserver (default: time) -Verbose ... verbose -VERSion ... print version and terminate -Z ... allow -s even if difference > 10 minutes When run with no options, will report the time from the default network timeserver. The default nework timeserver is 'time.nist.gov'. (use the -t option to change the timeserver) Other time servers known to sometimes work: time.nist.gov ntp-nist.ldsbc.net These servers no longer seem to work (they may not support the older network time request format): utcnist.colorado.edu utcnist2.colorado.edu time1.google.com (and time2, time3, tim4) Sample uses: nettime -s ... if current time differs from the timeserver's time, and the difference is less than 10 minutes, set the time to the server's time ... gradually by using MPE/iX's SETCLOCK command. nettime "-i -t timeserver" ... if current time differs from the timeserver's time, and the difference is less than 10 minutes, set the time to the server's time IMMEDIATELY by using MPE/iX's SETCLOCK ;NOW command. And, uses a local timeserver called 'time' nettime "-i -z" ... if current time differs from the timeserver's time, set the time to the server's time IMMEDIATELY by using MPE/iX's SETCLOCK ;NOW command. (Does not care if the difference is more than 10 minutes.) Source of original version of nettime: unknown. Source of this version of nettime: Allegro Consultants, Inc. ----------------------------------------------------------------- Typical run: :run nettime.pub.allegro;info = "-s" ----------------------------------------------------------------- NETTIME 20160809