C++獲取系統時間

1、獲取系統時間 time_t      time( time_t  *t ); 返回從1970.1.1到指定時間 t 的秒數   time_t 爲64位長整型,即__int64 VC6.0的64位整數分別叫做__int64與unsigned __int64,其範圍分別是[-2^63, 2^63)與[0,2^64),即-9223372036854775808~9223372036854775807
相關文章
相關標籤/搜索