Printing the time

Category |  Purpose |  Intended Audience |  Applicable to |  Description |  Limitations |  See also


Category:

Top

C++


Purpose:

Top

To provide additional info about printng time in C++


Intended Audience:

Top

All C++ developers


Applicable to:

Top

All Versions


Description:

Top

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:

Top

None


See also:

Top

See the ObjecTime C++ User Guide for additional details.


 

Copyright © 1999, ObjecTime Limited.