.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > TimeIntervalAdvanced Class : SubtractTimeInterval Method
The date to subtract from.
The TimeInterval to add.
SubtractTimeInterval Method
Subtracts a TimeInterval from the specified DateTime.
Syntax
'Declaration
 
Public Shared Function SubtractTimeInterval( _
   ByVal lhs As Date, _
   ByVal rhs As TimeInterval _
) As Date
'Usage
 
Dim lhs As Date
Dim rhs As TimeInterval
Dim value As Date
 
value = TimeIntervalAdvanced.SubtractTimeInterval(lhs, rhs)
public static DateTime SubtractTimeInterval( 
   DateTime lhs,
   TimeInterval rhs
)

Parameters

lhs
The date to subtract from.
rhs
The TimeInterval to add.
Requirements

Target Platforms: 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