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.
An amount of time, which is internally stored as the number of seconds in the time span.
class CTimeSpan
Remarks
CTimeSpan does not have a base class.
CTimeSpan functions convert seconds to various combinations of days, hours, minutes, and seconds.
The CTimeSpan object is stored in a __time64_t structure, which is 8 bytes.
A companion class, CTime, represents an absolute time.
The CTime and CTimeSpan classes are not designed for derivation. Because there are no virtual functions, the size of both CTime and CTimeSpan objects is exactly 8 bytes. Most member functions are inline.
For more information on using CTimeSpan, see the articles Date and Time, and Time Management in the Run-Time Library Reference.
Requirements
Header: atltime.h
See Also
Reference
localtime, _localtime32, _localtime64
strftime, wcsftime, _strftime_l, _wcsftime_l