[**@uplink-protocol/form-controller v0.3.1**](../README.md)

***

[@uplink-protocol/form-controller](../globals.md) / isSameDay

# Function: isSameDay()

> **isSameDay**(`date1`, `date2`): `boolean`

Defined in: [Date/utils/calendar.utils.ts:31](https://github.com/jmkcoder/uplink-protocol-calendar/blob/4cde26f472352440ee258db7670fce2e95651862/src/Date/utils/calendar.utils.ts#L31)

Check if two dates represent the same day

## Parameters

### date1

`Date`

First date

### date2

`Date`

Second date

## Returns

`boolean`

Boolean indicating if dates are the same day
