DurationFrom Months Method
Returns a Duration that represents a specified number of months, where the
specification is accurate to the nearest millisecond.
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
A Duration that represents the value
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public static Duration FromMonths(
double value
)VB
Public Shared Function FromMonths (
value As Double
) As DurationC++
public:
static Duration FromMonths(
double value
)F#
static member FromMonths :
value : float -> Duration Parameters
- value Double
- A number of months, accurate to the nearest millisecond
Return Value
DurationA Duration that represents the value