# getDateWithoutTime Type documentation

## TypeScript declaration

### [getDateWithoutTime](<https://github.com/siemens/element/blob/main/projects/element-ng/datepicker/date-time-helper.ts#L374-L374>)

**Kind:** constant

```
import { getDateWithoutTime } from '@siemens/element-ng/datepicker';
```

```
(date: Date) => Date = (date: Date): Date => createDate(date, 0, 0, 0, 0)
```

```
getDateWithoutTime(date: Date): Date
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [date](<https://github.com/siemens/element/blob/main/projects/element-ng/datepicker/date-time-helper.ts#L374-L374>) | `Date` |  |  |

**Returns:** [Date](<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date>)
