Use strftime (you need to convert time_t to struct tm* first): char buff[20]; struct tm * timeinfo; timeinfo = localtime (&mtime); ...
確定! 回上一頁