@technobuddha > library > Time > Month
Function: isSameMonth()
ts
function isSameMonth(
input1: Date,
input2: Date,
options: DateOptions): boolean;Defined in: is-same-month.ts:14
Determine if two dates occur in the same month
Parameters
| Parameter | Type | Description |
|---|---|---|
input1 | Date | The first date |
input2 | Date | The second date |
options | DateOptions | see DateOptions |
Returns
boolean
true, if the two dates occur in the same month
Default Value
ts
utc false