% Date: Fri, 18 Dec 1998 10:46:31 -0500 + From: Tim Shoppa <SHOPPA@trailing-edge.com> - To: kozam@mlksoft.com, goathunter@madgoat.com 5 Message-ID: <981218104631.2f000ad2@trailing-edge.com> = Subject: Y2K patches for NBS clock software at WKU fileserver   + To: Hunter Goatley <goathunter@madgoat.com> " CC: Mark Kozam <kozam@mlksoft.com>  @ NIST (formerly NBS) has a time/date server running 2 years ahead/ of the current date for testing purposes - it's   0   y2ktest.timefreq.bldrdoc.gov = 132.163.135.136  @ See http://www.boulder.nist.gov/timefreq/y2kupdate.html for more details.  F Substituting the Y2K test IP address into the NBS.C source from WKU's 2 FILESERV gives this when I run it (Alpha, VMS7.1):  
 * $ nbs -n -c 5 * 18-DEC-1998 10:23:44.19 to 18-DEC-1900 15:23:45.00, $ * Unable to convert binary to ascii. * Unable to display delta time.   E The reason is simple; the port-13 time service at NIST only sends the > last two digits of the year, and NBS.C currently prepends "19" to these two digits.  E I've made a simple modification using windowing to make sure that NBS D works into the 21st century.  At the same time, I've added an #ifdefC for Y2KTEST that allows easy compilation of a Y2K test version that 8 uses the NIST timeserver running two years ahead.  Below< my .SIG you'll find the DIFFERENCES output between the "old"; version and my "new" version, followed by my "new" version.    --  B  Tim Shoppa                        Email: shoppa@trailing-edge.comG  Trailing Edge Technology          WWW:   http://www.trailing-edge.com/ *  7328 Bradley Blvd		   Voice: 301-767-59176  Bethesda, MD, USA 20817           Fax:   301-767-5927