Xref: utzoo comp.unix.questions:24296 alt.sys.sun:1146 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!amelia!pioneer.arc.nasa.gov!samlb From: samlb@pioneer.arc.nasa.gov (Sam Bassett RCS) Newsgroups: comp.unix.questions,alt.sys.sun Subject: Re: adjtime(2) hints needed Message-ID: <7656@amelia.nas.nasa.gov> Date: 3 Aug 90 21:03:41 GMT References: <2119@cirrusl.UUCP> Sender: news@amelia.nas.nasa.gov Reply-To: samlb@pioneer.arc.nasa.gov.UUCP (Sam Bassett RCS) Organization: NASA Ames Research Center, Moffett Field, CA. Lines: 11 I would add seconds x 1000 to milliseconds in separate temporary variables, then do the addition or subtraction, and convert back to seconds -- subtracting seconds and milliseconds separately does not yield a very usable value . . . . . Sam'l Bassett, Sterling Software @ NASA Ames Research Center, Moffett Field CA 94035 Work: (415) 604-4792; Home: (415) 969-2644 samlb@well.sf.ca.us samlb@ames.arc.nasa.gov := 'Sterling doesn't _have_ opinions -- much less NASA!'