CFileTime::UTCToLocal
更新 : 2007 年 11 月
世界協定時刻 (UTC: Coordinated Universal Time) に基づく時刻を現地時間による時刻に変換します。
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();
必要条件
ヘッダー : atltime.h