跳轉到內容

C++ 程式設計/程式碼/標準 C 庫/函式/localtime

來自華夏公益教科書,開放的書籍,用於開放的世界

localtime

[編輯 | 編輯原始碼]
語法
#include <ctime>
struct tm *localtime( const time_t *time );

函式 localtime() 將日曆時間 time 轉換為本地時間。注意 靜態返回

相關主題
asctime - ctime - difftime - gmtime - strftime - time
華夏公益教科書