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 /


OTGetTimeStamp

Obtains the current timestamp.

C INTERFACE
void OTGetTimeStamp (OTTimeStamp* stamp)
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
stamp
A pointer to the location where the function stores the current timestamp.
DISCUSSION
Use the OTTimeStampInMilliseconds function to convert a timestamp value to milliseconds.

Use the OTTimeStampInMicroseconds function to convert a timestamp value to microseconds.

Use the OTSubtractTimeStamps function to obtain the difference between two timestamp values.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998