cocos2dx开发之util类&方法——取当前系统时间

返回time_t,即从1970年1月1日至今的秒数

time_t getSysTime(){
    time_t currentTime = time(NULL);
    return currentTime;
}

 

posted on 2015-03-02 18:43  益达的博客  阅读(177)  评论(0编辑  收藏  举报

导航