cocos2dx开发之util类&方法——取当前系统时间 返回time_t,即从1970年1月1日至今的秒数 time_t getSysTime(){ time_t currentTime = time(NULL); return currentTime; }