CFileTime::GetCurrentTime

更新 : 2007 年 11 月

現在のシステム日付および時刻を表す CFileTime オブジェクトを取得します。

static CFileTime GetCurrentTime( ) throw( );

戻り値

現在のシステム日付および時刻を世界協定時刻 (UTC: Coordinated Universal Time) 形式で返します。

使用例

// Retrieve the current time
CFileTime myFT;
myFT = CFileTime::GetCurrentTime();

必要条件

ヘッダー : atltime.h

参照

参照

CFileTime クラス

time、_time32、_time64

その他の技術情報

CFileTime のメンバ