date-fns-hijri/.github/wiki/api/functions/isSameHijriMonth.md

33 lines
614 B
Markdown

[**date-fns-hijri v1.0.1**](../README.md)
***
[date-fns-hijri](../README.md) / isSameHijriMonth
# Function: isSameHijriMonth()
> **isSameHijriMonth**(`dateA`, `dateB`, `options?`): `boolean`
Defined in: [src/index.ts:346](https://github.com/acamarata/date-fns-hijri/blob/e8ade1f9c489d2317f2f324f2a54bebcb30e4d6f/src/index.ts#L346)
Check whether two Gregorian dates fall in the same Hijri month.
Returns `false` if either date is outside the supported range.
## Parameters
### dateA
`Date`
### dateB
`Date`
### options?
[`ConversionOptions`](../interfaces/ConversionOptions.md)
## Returns
`boolean`