[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in encode-universal-time?
- To: info-mcl@ministry.cambridge.apple.com
- Subject: Re: Bug in encode-universal-time?
- From: angus@aegypt.demon.co.uk (Angus McIntyre)
- Date: Tue, 14 Jun 1994 22:53:27 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: Rev'd Jack's Roamin' Cadillac Church
- References: <vogtCrCtD9.GM9@netcom.com>
- Sender: news@demon.co.uk (Usenet Administration)
In article <vogtCrCtD9.GM9@netcom.com>, vogt@netcom.com (Christopher J. Vogt) wrote:
>I'm having a little trouble with encode-universal-time. Sometimes it
>seems to return a bogus value. I'm runing version 2.0.1 on a Quadra 700.
>When I run the code fragment below, at random times it will print out
>18446743950619618816 as the encoded time. Help?
Hmm, yes. You wouldn't be running System 7.1 by any chance, would you?
All my timing functions based on 'get-universal-time' (they didn't
need to be accurate, just rough and ready) went weird since I moved
to System 7.1 - whatever it's giving back, it sure as hell isn't
seconds. I've had to crawl through large chunks of code changing
everything to use 'get-internal-real-time' or 'get-internal-run-time'.
Cheers
A
x--------------------------------------------------------------------x
| Angus McIntyre angus@aegypt.demon.co.uk angus@arti.vub.ac.be |
|--------------------------------------------------------------------|
| "I am here by the will of the people ... and I will not leave |
| until I get my raincoat back." ['Metrophage', Richard Kadrey] |
x--------------------------------------------------------------------x