![]() ![]() The FractMonthDiff value is stored as a simple fraction such as x/y it may also possess a negative value. ![]() Then the result is divided by the DaysInMonth value. First, the difference between (the day of month taken from ToDate) and (the day of month taken from IntermediateDate) is calculated. Calculated as a sum FromDate + DateDiffInMonths.ĭifference in months, a fraction. For example, for and Jdates the difference in months would be 1 month. For the dates in the DD.MM.YY format, only months of the dates are taken into account, i.e., MM. The interval in months between FromDate date and ToDate date. If the Charge Before Subscription Period billing model is used - this is the subscription Expiration date.įor details about billing dates refer to CloudBlue Commerce Billing Provider's Guide, sections Billing Models and Basic Billing Models.If the Charge Before Billing Period billing model is used - this is the next Billing date.In case of refunds the date up to which the subscription was paid is used as a value. In case of refunds, the subscription cancellation or downgrade date is taken as this date. actual number of days in current month.įor details refer to corresponding KB article.Note that in Billing starting from version 5.5 the alternative number of days can be used for calculations, such as: The number of days in the BaseMonth is important for further calculations. Subscription ordering date the value will be used in further calculations.īaseDate is the day of BaseMonth month. The following variables are used for calculations: When calculating the duration of a period such values as period start and end dates, number of days in the month when subscription was purchased, as well as some intermediate calculated values based on the initial data, are taken into account. ![]()
0 Comments
Leave a Reply. |