Standard Time via Modems

Jesse Chisholm jesse at altos86.Altos.COM
Wed Feb 13 12:52:16 AEST 1991


I don't recall which post asked for this information, I hope the
person who asked sees this post.

One way to get the current timestamp from the standards people,
is to have your computer call

	1-202-653-1079 at 1200 baud, 7 bits, even parity, 1 stop bit
or	1-202-653-0351 at 1200 baud, 7 bits, even parity, 1 stop bit

I am told that this number will spew the Universal Coordinated Time
for 60 seconds on a simple ASCII format.  You will want to
verify the format, but what I was told is essentially:

	printf("%d\n%s\n%02d:%02d:%02d.%03d\n",
		julian_day, day_of_week, hours, minutes,
		seconds, milli_seconds);

with the milliseconds accurate to plus or minus .4 millisecs

DISCLAIMER:  I have not tried this yet.  I was told about it by
the system administrator at the Annapolis Naval Base.

Hope it works for you.

-- 
===== jesse at Altos86.Altos.COM tel:1-408-432-6200x4810 fax:-434-0278
An old fool says, "Because it is old, it is good."
A young fool says, "Because it is new, it is better."
Both are fools. -- anonymous



More information about the Alt.sources.d mailing list