This document is archived and information here might be outdated. Recommended version. |
Subtracts a given time, and returns the time duration result.
[Visual Basic .NET] Public Function SubtractTime ( _ ByVal Time As ITime _ ) As ITimeDuration
[C#] public ITimeDuration SubtractTime ( ITime Time );
[C++]
HRESULT SubtractTime(
ITime* Time
);
[C++]
Parameters Time [in]
Time is a parameter of type ITime*
This function subtracts the passed time value from the current time, and returns the difference in the TimeDuration parameter. If the passed time value is before the current time value, then the result will be positive. If the passed time value is after the current time value, then the result will be negative.