SubtractMonths Method

Summary
Returns a new DateTime that is computed by subtracting  months from  currentDateTime
Syntax
C#
C++/CLI
public static DateTime SubtractMonths( 
   this DateTime currentDateTime, 
   int 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

Help Version 22.0.2023.1.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.