int _tmain(int argc, _TCHAR* argv[])
{
struct tm tm_datetime,*tm_sys;
time_t time;
tm_datetime.tm_sec=12;
tm_datetime.tm_min=12;
tm_datetime.tm_hour=12;
tm_datetime.tm_year=1985;
tm_datetime.tm_hour=3;
tm_datetime.tm_mday=14;
time = mktime(&tm_datetime);
printf("%d\n",time);
getchar();
}
为什么总得到-1?