MFC
Class CTime
in AFX.H
- class CTime
|
Constructor Summary |
CTime( time_t time )
|
CTime( int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nDST =-1 )
|
CTime( WORD wDosDate, WORD wDosTime, int nDST =-1 )
|
CTime( const CTime& timeSrc )
|
CTime( const SYSTEMTIME& sysTime, int nDST =-1 )
|
CTime( const FILETIME& fileTime, int nDST =-1 )
|
CTime()
|
CTime
public CTime( time_t time );
CTime
public CTime( int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nDST =-1 );
CTime
public CTime( WORD wDosDate, WORD wDosTime, int nDST =-1 );
CTime
public CTime( const CTime& timeSrc );
CTime
public CTime( const SYSTEMTIME& sysTime, int nDST =-1 );
CTime
public CTime( const FILETIME& fileTime, int nDST =-1 );
CTime
public CTime();
Format
public CString Format( LPCTSTR pFormat ) const;
Format
public CString Format( UINT nFormatID ) const;
FormatGmt
public CString FormatGmt( LPCTSTR pFormat ) const;
FormatGmt
public CString FormatGmt( UINT nFormatID ) const;
GetAsSystemTime
public BOOL GetAsSystemTime( SYSTEMTIME& timeDest ) const;
GetCurrentTime
public static CTime PASCAL GetCurrentTime();
GetDay
public int GetDay() const;
GetDayOfWeek
public int GetDayOfWeek() const;
GetGmtTm
public struct tm* GetGmtTm( struct tm* ptm = 0 ) const;
GetHour
public int GetHour() const;
GetLocalTm
public struct tm* GetLocalTm( struct tm* ptm = 0 ) const;
GetMinute
public int GetMinute() const;
GetMonth
public int GetMonth() const;
GetSecond
public int GetSecond() const;
GetTime
public time_t GetTime() const;
GetYear
public int GetYear() const;
operator!=
public BOOL operator!=( CTime time ) const;
operator+
public CTime operator+( CTimeSpan timeSpan ) const;
operator+=
public const CTime& operator+=( CTimeSpan timeSpan );
operator-
public CTime operator-( CTimeSpan timeSpan ) const;
operator-
public CTimeSpan operator-( CTime time ) const;
operator-=
public const CTime& operator-=( CTimeSpan timeSpan );
operator<
public BOOL operator<( CTime time ) const;
operator<=
public BOOL operator<=( CTime time ) const;
operator=
public const CTime& operator=( const CTime& timeSrc );
operator=
public const CTime& operator=( time_t t );
operator==
public BOOL operator==( CTime time ) const;
operator>
public BOOL operator>( CTime time ) const;
operator>=
public BOOL operator>=( CTime time ) const;