摘要:
/***time_t转SYSTEMTIME*/SYSTEMTIME TimetToSystemTime(time_t t){ FILETIME ft; SYSTEMTIME pst; LONGLONG nLL = Int32x32To64(t, 10000000) + 116444736000000000; ft.dwLowDateTime = (DWORD)nLL; ft.dwHighDateTime = (DWORD)(nLL >> 32); FileTimeToSystemTime(&ft, &pst); return pst;}/***SYSTEMTIME转 阅读全文