Error processing SSI file
Leadtools.Dicom.Common

Show in webframe

SubtractMonths Method






Any DateTime object
Number of months to subtract
Returns a new DateTime that is computed by subtracting months from currentDateTime
Syntax
[ExtensionAttribute()]
public static DateTime SubtractMonths( 
   DateTime currentDateTime,
   int months
)
'Declaration
 
<ExtensionAttribute()>
Public Shared Function SubtractMonths( _
   ByVal currentDateTime As Date, _
   ByVal months As Integer _
) As Date
'Usage
 
Dim currentDateTime As Date
Dim months As Integer
Dim value As Date
 
value = DicomExtensions.SubtractMonths(currentDateTime, months)
[ExtensionAttribute()]
public:
static DateTime SubtractMonths( 
   DateTime currentDateTime,
   int months
) 

Parameters

currentDateTime
Any DateTime object
months
Number of months to subtract

Return Value

A new DateTime that is computed by subtracting months from currentDateTime
Requirements

Target Platforms

See Also

Reference

DicomExtensions Class
DicomExtensions Members

Error processing SSI file
   Leadtools.Dicom.Common requires a Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features