CTimeSpan Member Functions

Construction
CTimeSpan Constructs CTimeSpan objects in various ways.

Extraction
GetDays Returns the number of complete days in this CTimeSpan.
GetHours Returns the number of hours in the current day (–23 through 23).
GetTotalHours Returns the total number of complete hours in this CTimeSpan.
GetMinutes Returns the number of minutes in the current hour (–59 through 59).
GetTotalMinutes Returns the total number of complete minutes in this CTimeSpan.
GetSeconds Returns the number of seconds in the current minute (–59 through 59).
GetTotalSeconds Returns the total number of complete seconds in this CTimeSpan.

Conversion
Format Converts a CTimeSpan into a formatted string.

See Also

CTimespan Overview, CTimeSpan Operators, Simple Value Types