× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 1/17/11 9:58 AM, James H. H. Lampert wrote:
At this point, I'm trying to find out a way to determine how long the
splash screen has been up (once the program gets to the earliest
possible point for dismissing it), and I'm drawing a very large blank
on measuring a time interval in MI, without having to call QWCCVTDT
twice (which seems like an expensive way to do it).


IIRC the ToD value materialized has some number of bytes representing a binary number since the system-defined date\time origin [xx-Aug-1928?] which, if the latter value is larger than the former value retrieved by the materialize [MATTOD?], then the difference can be estimated very closely. Obviously if the value is smaller, the date or time was set back since the prior reading, and probably best to just infer the necessary amount of time has passed; as unsigned binary arithmetic, a negative result effects an underflow error.

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.