Function differenceInCalendarWeeks
- differenceInCalendarWeeks(dateLeft, dateRight, options?): number
-
Parameters
-
dateLeft: number | Date
-
dateRight: number | Date
-
Optional
options: {
locale?: Locale;
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
}
Optional
-
Optional
locale?: Locale
-
Optional
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6
Returns number