CFileTime::GetCurrentTime

現在のシステム日付と時刻を表す CFileTime のオブジェクトを取得するには、この静的関数を呼び出します。

static CFileTime GetCurrentTime( ) throw( );

戻り値

世界協定時刻 (UTC) (UTC) の形式の現在のシステム日付と時刻を返します。

使用例

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

必要条件

ヘッダー : atltime.h

参照

関連項目

CFileTime クラス

time、_time32、_time64