Partilhar via


CTime::GetCurrentTime

Returns a CTime object that represents the current time.

static CTime WINAPI GetCurrentTime( ) throw( );

Remarks

Returns the current system date and time in Coordinated Universal Time (UTC).

Example

CTime t = CTime::GetCurrentTime();   

Requirements

Header: atltime.h

See Also

Reference

CTime Class

Hierarchy Chart

Other Resources

CTime Members