__DATE__

Preprocessor macro defined as the date of compilation.

Syntax
__DATE__
  
Remarks

The compiler defines this macro as a character string representation of the date of compilation. The format of this string is

"
Mmm dd yyyy "

where Mmm is the a three-letter abbreviation of the month, dd is the day of the month, and yyyy is the year.

Related information
__ASSEMBLER__
__COMPILER__
__COUNTER__
__TARGETARCH__
__VERSION_NUM__
__VERSION__
__cplusplus
__CWBUILD__
__CWCC__
__embedded_cplusplus
__FILE__
__func__
__FUNCTION__
__ide_target()
__LINE__
__MWERKS__
__optlevel
__PRETTY_FUNCTION__
__profile__
__STDC__
__TIME__