cancel
Showing results for 
Search instead for 
Did you mean: 

Is there anyway to automatically add the date as a symbol in cube IDE? I would like to be able to read the programmed date in my program without manually adding a timestamp symbol.

JMerr.2
Associate II
 
2 REPLIES 2
TDK
Guru

The __DATE__ and __TIME__ preprocessor macros can be used to do this. They will expand to strings of the compilation time.

If you feel a post has answered your question, please click "Accept as Solution".
JMerr.2
Associate II

This does exactly what I needed. Thanks for the pointer (pun intended)!