Version

Subtract Method (SmartDate)

Subtracts a TimeSpan from the current SmartDate instance if it is non-empty.
Overload List
OverloadDescription
Subtract(TimeSpan)Subtracts a TimeSpan from the current SmartDate instance if it is non-empty.  
Subtract(DateTime)Subtracts a starting DateTime from the current SmartDate to get a TimeSpan that represents the time interval between the two date values.  
Subtract(SmartDate)Subtracts a starting SmartDate from the current SmartDate to get a TimeSpan that represents the time interval between the two date values.  
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