monthsToMonth

fnint monthsToMonth(int currMonth, int month) @safe pure

Returns the number of months from the current months of the year to the given month of the year. If they are the same, then the result is 0.

Parameters

currMonthThe current month of the year.
monthThe month of the year to get the number of months to.