dotnetCHARTING Send comments on this topic.
SubtractTimeInterval Method
See Also 
dotnetCHARTING Namespace > TimeIntervalAdvanced Class : SubtractTimeInterval Method


lhs
The date to subtract from.
rhs
The TimeInterval to add.
Subtracts a TimeInterval from the specified DateTime.

Syntax

Visual Basic (Declaration) 
Public Shared Function SubtractTimeInterval( _
   ByVal lhs As Date, _
   ByVal rhs As TimeInterval _
) As Date
Visual Basic (Usage)Copy Code
Dim lhs As Date
Dim rhs As TimeInterval
Dim value As Date
 
value = TimeIntervalAdvanced.SubtractTimeInterval(lhs, rhs)
C# 
public static DateTime SubtractTimeInterval( 
   DateTime lhs,
   TimeInterval rhs
)

Parameters

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

See Also