int _tmain(int argc, _TCHAR* argv[])
{
FILETIME FileTime, LocalFileTime;
SYSTEMTIME UTCTime, LocalTime;
SystemTimeToFileTime(&UTCTime,&FileTime);
FileTimeToLocalFileTime(&FileTime, &LocalFileTime);
FileTimeToSystemTime(&LocalFileTime, &LocalTime);
return 0;
}
UTC时间转为本地时间
最新推荐文章于 2023-03-29 16:50:40 发布