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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 8:45 AM
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 9:00 AM
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".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 10:08 AM
This does exactly what I needed. Thanks for the pointer (pun intended)!
