time_t timep; time (&timep); printf(“%s”,asctime(gmtime(&timep))); }. 執行. Sat Oct 28 02:10:06 2000. ctime(將時間和日期以字符串格式表示). 相關函數.
確定! 回上一頁