Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | __TIME__ This macro generates the time of compilation of a source file as a string in the form: "hh:mm:ss\0" where
| |||||||
Notes | The format of the time information corresponds to the This macro does not have to be defined in an include file. Its name is recognized and replaced by the compiler. | |||||||
Example | #include <stdio.h>
int main(int argc, char *argv[])
{
printf("Program %s was compiled on %s at %s hours\n", argv[0],
__DATE__, __TIME__);
return 0;
}
| |||||||
See also | asctime, __DATE__ | |||||||