显示时间问题

  • 本帖最后由 George 于 2013-3-8 17:13 编辑 *

struct cc_timeval now; CCTime::gettimeofdayCocos2d(&now, NULL); CCLOG(“time+++++++%ld”,(now.tv_sec*1000+now.tv_usec/1000.0)/10);只有这个获得时间的方法么?我想在我的label上显示 时:分:秒,像时钟一样! 该怎么做啊,求指教啊!!!

1赞