Click or drag to resize

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
)

Parameters

startDate
Type: SystemDateTime
The start date.
endDate
Type: SystemDateTime
The end date.

Return Value

Type: Decimal
Months
See Also