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

***

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

# Function: isSameDay()

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

Defined in: [utils/calendar.utils.ts:31](https://github.com/jmkcoder/uplink-protocol-calendar/blob/311e0b81efba7399cf1c367c0a2007aa66f3b830/src/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
