WBEMTime::operator- operators

[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.]

The WBEMTime class subtraction operator (–) has been overloaded to:

  • Subtract a time span from an object's time to produce a new time object that contains the resulting time.
  • Subtract a time from the object's time to produce a new time span object that contains the difference between the two times.

Overload list

Operator Description

Subtracts a WBEMTime from a WBEMTime.


Subtracts a WBEMTimeSpan from a WBEMTime.


Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008




FrameDynOS.dll; FrameDyn.dll