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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.