雪冰

博客园 首页 联系 订阅 管理

2010年4月19日

摘要: #include #include int main() { char str[50]; struct tm *p; time_t lt; lt=time(NULL); p=localtime(<); strftime(str,50,"%z %c %A %a",p); printf(str); return 0; } 阅读全文
posted @ 2010-04-19 21:46 雪冰 阅读(1068) 评论(0) 推荐(0)