This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Where to get mktime() and gmtime() functions for MDK?

In our embedded project we need to manage time data with both time_t and struct tm standard types.

The former for storage, easy computation of delta time, transmission over a low bitrate channel. The latter for displaying data on a LCD and interfacing to a I2C-driven RTC.

In other environments (also an 8-bit ...) we manage both types using ANSI-C mktime() and gmtime() functions.

However, I read in http://www.keil.com/support/man/docs/ca/ca_xa_librarydif.htm, that MDK does not implement these two functions.

Can anyone help me in finding any library or source code for mktime() and gmtime() that I can use on an ARM7 with MDK?

Kind regards,
Marco Accame.

0