CFileTime::UTCToLocal
调用此方法将根据协调世界时(utc)的时间(UTC)转换为本地文件时。
CFileTime UTCToLocal( ) const throw( );
返回值
返回包含时间的 CFileTime 对象在本地文件时间格式。
示例
// Convert a UTC time to local file time format
CFileTime myUTC_FT, myL_FT;
// Get system time (in UTC format)
myUTC_FT = CFileTime::GetCurrentTime();
// Convert to local file time
myL_FT = myUTC_FT.UTCToLocal();
要求
Header: atltime.h