You can use time.h. Breakdown your time_t into a struct tm . struct tm *localtime(const time_t *clock); struct tm { int tm_sec; ...
確定! 回上一頁