摘要: #include <iostream>#include <time.h>using namespace std;int main() {char szBeginTime[32] ={0};time_t tmBeginTime = time(NULL);struct tm *tmNowBegin = localtime(&tmBeginTime);strftime(szBeginTime,32,"%Y-%m-%d %H:%M:%S",tmNowBegin);fprintf(stderr, "Connect Begin Time %s\ 阅读全文
posted @ 2011-11-22 19:05 byfei 阅读(340) 评论(0) 推荐(0) 编辑