Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 27 - Utilities Reference / Functions
Timestamp Utility Functions /


OTTimeStampInMilliseconds

Converts the difference between two timestamp values into milliseconds.

C INTERFACE
UInt32 OTTimeStampInMilliseconds (OTTimeStamp* delta)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
delta
A reference to the value that you want to convert into milliseconds. You would normally get this value by calling OTSubtractTimeStamps.
function result
The value specified by the delta parameter, converted into milliseconds.
DISCUSSION
A delta value of 0xffff ffff indicates that the timestamp value has overflowed 32 bits of milliseconds.

Use the OTGetTimeStamp function to obtain the current timestamp.

Use the OTTimeStampInMicrosecondsFunction to convert a timestamp value to microseconds.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998