struct tm *now_tm; struct timeval tv; time_t currtime; gettimeofday(&tv, NULL); currtime=tv.tv_sec; now_tm = localtime(&currtime); int day = now_tm->tm_yday ...
確定! 回上一頁