× 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.


  • Subject: Re: ##EMailNumber 01-WNY-5123108 Date From 8 byte MATTOD receiver to *DTSformat with API QWCCVTDT
  • From: "Leif Svalgaard" <leif@xxxxxxxx>
  • Date: Tue, 8 May 2001 10:51:25 -0500

From: <jmoreno@militarycars.com>
To: <Midrange-L@midrange.com>
Sent: Tuesday, May 08, 2001 9:17 AM
Subject: ##EMailNumber 01-WNY-5123108 Date From 8 byte MATTOD receiver to
*DTSformat with API QWCCVTDT


> Hello all,
>
>    I am working with the following for the last few days and have not ben
> able to
>    convert the 8 byte receiver from the C / MI function, buitin function
> MATTOD
>    "Materialize Time of Day"  to some more readeable format. Particularly
> *DTS
>    that gives me microseconds pressision

If you simply treat the 8-byte value as a large unsigned integer
and divide by 4096 you get the microseconds since the beginning
of time (Aug 23, 1928, 12:03:06 pm). What do you need the micro-
seconds for? I hope that it is NOT as a seed to some random
number generator to generate "secure" keys for encryption,
see: http://www.cs.berkeley.edu/~daw/papers/ddj-netscape.html
for why not.



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.