Version

Subtraction(SmartDate,TimeSpan) Operator

Deducts a TimeSpan value from a SmartDate instance.
Syntax
'Declaration
 
Overloads Public Operator -( _
   ByVal d As SmartDate, _
   ByVal t As TimeSpan _
) As SmartDate
public SmartDate operator -( 
   SmartDate d,
   TimeSpan t
)

Parameters

d
The SmartDate instance being reduced
t
The time interval being deducted from d.

Return Value

A SmartDate decreased by time interval, t, unless d was originally empty.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also