gmtime

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gmtime

746 Views
a8Chcx
Contributor V

Hi,

I am using KDS3.2.0 for KV58F240 MCU.

I am using cdatm_UTC = gmtime(&time_count); to convert seconds into UTC time.

I can compile and run it, but it won't return from this call.

Can anybody to help me to fix this problem?

Thanks,

Christie

0 Kudos
Reply
1 Reply

607 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Christie:

The time functions are not implemented . The header file (time.h) is provided for compatibility only.  If you need it, you have to write your own functions.

Just an information: I tested the gmtime with MCUXpresso SDK 2.4.1 with MCUXpresso IDE 10.2.1 and Frdm-k66 board.  I can get the right result.

Regards

Daniel

0 Kudos
Reply