TimeSpanStatic: Subtract

Subtract

Returns a new TimeSpan object whose value is the difference between the two TimeSpan objects.



 Public Function Subtract(
	  ByRef Left As TimeSpan,
	  ByRef Right As TimeSpan ) As TimeSpan

Parameters

Left
[ByRef] TimeSpan. The time interval to subtract from.
Right
[ByRef] TimeSpan. The time interval to be subracted.

Return Values

TimeSpan -  A new time interval whose value is the result of the value of Left minus the value of Right.

See Also

Project CorLib Overview

Class TimeSpanStatic Overview