COHERENT manpages

This page displays the COHERENT manpage for __TIME__ [Time source file is translated].

List of available manpages
Index


__TIME__ -- Manifest Constant

Time source file is translated

__TIME__ is a preprocessor constant  that is defined by the C preprocessor.
It represents  the time that a  source file is translated.   It is a string
literal of the form:

    "hh:mm:ss"

This is the same format used by the function asctime.

The  value of  this preprocessor constant  remains constant  throughout the
processing of the translation unit.  It may not be the subject of a #define
or #undef preprocessing directive.

Example

For an example of how to use __TIME__ in a program, see __DATE__.

See Also

__DATE__,
__FILE__,
__LINE__,
__STDC__,
manifest constant
ANSI Standard §6.8.8