countTotalMondaysInMonth
talawa-api • Docs
talawa-api / utilities/recurrenceDatesUtil / countTotalMondaysInMonth
Function: countTotalMondaysInMonth()
> countTotalMondaysInMonth(date
): number
This function counts the total number of mondays in a month.
Parameters
• date: Date
a date.
Returns
number
total number of mondays.