COleDateTime::SetStatus
Sets the status of this COleDateTime object.
void SetStatus(
DateTimeStatus status
) throw( );
Parameters
- status
The new status value for this COleDateTime object.
Remarks
The status parameter value is defined by the DateTimeStatus enumerated type, which is defined within the COleDateTime class. See COleDateTime::GetStatus for details.
Warning
This function is for advanced programming situations. This function does not alter the data in this object. It will most often be used to set the status to null or invalid. Note that the assignment operator (operator =) and SetDateTime do set the status of the object based on the source value(s).
Example
See the example for GetStatus.
Requirements
Header: atlcomtime.h