|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Represents a relative time, a time span.
COleDateTimeSpan does not have a base class.
A COleDateTimeSpan keeps time in days.
COleDateTimeSpan is used with its companion class COleDateTime. COleDateTime encapsulates the DATE data type of OLE automation. COleDateTime represents absolute time values. All COleDateTime calculations involve COleDateTimeSpan values. The relation between these classes is analogous to the one between CTime and CTimeSpan.
For more information on the COleDateTime and COleDateTimeSpan classes, see the article Date and Time: Automation Support.