Printing the time |
Category: |
C++
Purpose: |
To provide additional info about printng time in C++
Intended Audience: |
All C++ developers
Applicable to: |
All Versions
Description: |
You can use either of the following two methods:
// method one
char buff[80];
Time::now().printString (buff);
log.log (buff);
// method two
log.log (Time::now());
The Log SAP log service (log.log) is overloaded to take either a
char*
or
an RTDataObject
Limitations: |
None
See also: |
See the ObjecTime C++ User Guide for additional details.
Copyright © 1999, ObjecTime Limited. |