@technobuddha > library > Time > Day
Function: isSameDay()
ts
function isSameDay(
input1: Date,
input2: Date,
options: DateOptions): boolean;Defined in: is-same-day.ts:14
Determine if two dates occur on the same day
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 fall on the same day
Default Value
ts
utc false