CTimeSpan::GetHours

Call this member function to retrieve the number of hours in the current day represented by this CTimeSpan object. The range is –23 through 23.

Syntax

int GetHours( ) const;

At a Glance

Header file: Afx.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CTimespan Overview, CTimeSpan Member Functions, Simple Value Types