× 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 Wed, 13 Feb 2002, Rick Rayburn wrote:
>
> Got a request to capture the time of a transaction in hours, minutes,
> seconds...and, believe it or not...milli-seconds!
>
> Please don't ask me why...mine is not to ask...etc....

Heh.  I believe it!  Actually, you shouldn't be so surprised, this is
a pretty common question, so it must be a pretty common issue.  I've
answered it a few times already :)

Here's where I posted an example of getting Milliseconds (1/1000th of a
second):
http://archive.midrange.com/rpg400-l/200101/msg00867.html

Here's where I posted an example of getting Microseconds (1/1000000 of a
second):
http://archive.midrange.com/midrange-l/200102/msg00639.html

>
> Anyway to enhance the captured time within an RPG program, API or whatever,
> with...milli-seconds?
>
> I know, I know...
>
> Thanks for any assistance in this matter!
>

The millisecond technique could be adapted to RPG/400 (RPG III) as well
if you had the need.

Good luck!




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.