ItemHelperGetMonthsBetweenTwoDates Method |
Calculates number of months between two dates.
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static decimal GetMonthsBetweenTwoDates(
DateTime startDate,
DateTime endDate
)
Public Shared Function GetMonthsBetweenTwoDates (
startDate As DateTime,
endDate As DateTime
) As Decimal
public:
static Decimal GetMonthsBetweenTwoDates(
DateTime startDate,
DateTime endDate
)
static member GetMonthsBetweenTwoDates :
startDate : DateTime *
endDate : DateTime -> decimal
Parameters
- startDate
- Type: SystemDateTime
The start date. - endDate
- Type: SystemDateTime
The end date.
Return Value
Type:
DecimalMonths
See Also