gmtime

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

gmtime

585 次查看
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 项奖励
1 回复

446 次查看
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 项奖励