This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to set date/time for time.h functions?

The C6000 compiler (I'm using v6.1.15) provides the time.h functions like clock(), strftime(), etc. That's good, but on an embedded system they won't have the proper time when the system powers up, and I don't see any way of initializing the time and date.

Is there a method of initializing date and time for the run-time system time.h library functions?

--Randy Yates