WBEMTime::operator-(constWBEMTimeSpan&) method (wbemtime.h)
[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-( [ref] const WBEMTimeSpan & sub );
Reference to the WBEMTimeSpan object whose time span is subtracted from the "this" object.
Any returned objects that has a negative time span or a time before Jan 1, 1601 is set to INVALID_TIME.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|