Returns the difference as a Date Cycle between two dates, given a date cycle.

Note, date1 and date2 are not inclusive, ie 10/1/2017 to 10/3/2017 is 2 months, rather than inclusive 10/1/2017 to 9/3/2017.

Syntax

finUtilities.DateCycleGetDifference(date1, date2, cycleMnemonic, extraDays)

Parameters

NameTypeOptionalByRefDescription
date1 Date The begin date.
date2 Date The end date.
cycleMnemonic String The cycle (Mnemonic text).
extraDays Long ByRef The extra Days not included in the result.

Return Value

finDateCycle

A finDateCycle object.

Member of:
finUtilities
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0