Home
/
Intersoft.ISRuntime6
/
ISDateUtilities
/
MonthsDifferenceRoundedUp
MonthsDifferenceRoundedUp
Method
Member of
ISDateUtilities
Returns the number of Months between two dates, rounded up if there are any extra days. Times are ignored. Dates are exclusive, ie send 1/1 to 1/2 (=1 month, 0 days) not 1/1 to 31/1.
Syntax
ISDateUtilities
.
MonthsDifferenceRoundedUp
(
date1
,
date2
)
Parameters
Name
Type
Optional
ByRef
Description
date1
Date
First and early date to compare.
date2
Date
Second and later date to compare.
Return Value
Integer
An Integer value.
Member of:
ISDateUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0