Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the hour represented by this date/time value.
int GetHour( ) const throw( );
Return Value
The hour represented by the value of this COleDateTime object or COleDateTime::error if the hour could not be obtained.
Remarks
Valid return values range between 0 and 23.
For information on other member functions that query the value of this COleDateTime object, see the following member functions:
Example
COleDateTime t(1999, 3, 19, 22, 15, 0); // 10:15PM March 19, 1999
ASSERT(t.GetSecond() == 0);
ASSERT(t.GetMinute() == 15);
ASSERT(t.GetHour() == 22);
Requirements
Header: atlcomtime.h