4 Replies Latest reply on Feb 7, 2019 7:14 PM by masac_2723681

    Does Creator support preprocessor macros __DATE__  and  __TIME__ ?

    masac_2723681

      Hello,

      I have seen other compilers, like IAR, support preprocessor macros__DATE__ and __TIME__. __DATE__ is a preprocessor macro that expands to the current date (at compile time) in the form mmm dd yyyy (e.g. "Jan 14 2012"), as a string. The __DATE__ macro can be used to provide information about the particular moment a binary was built. The __TIME__ macro gets the current time of the build.  I think the answer is no but wondering if there is something like this available so my C code could access to when it was built.

       

      Thanks,

      Mark