[The WBEMTime class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
This overload of the WBEMTime class subtraction operator (–) subtracts a time span from an object's time to produce a new time object that contains the resulting time.
WBEMTime operator-( const WBEMTimeSpan & sub );
Any returned objects that has a negative time span or a time before Jan 1, 1601 is set to INVALID_TIME.
|Windows version||Windows Vista Windows Server 2008|