# getRangeDays (@salmonui/core/dates)

> The getRangeDays function of @salmonui/core/dates: Inclusive number of days of a range; 0 for null.

Canonical: https://salmonui.dev/docs/reference/core/dates/getRangeDays

```ts
import { getRangeDays } from '@salmonui/core/dates';
```

Entry index: https://salmonui.dev/docs/reference/core/dates (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/dates.md).

## Reference

Kind: function

```ts
function getRangeDays(range: DateRange<PlainDateLike> | null | undefined): number;
```

Inclusive number of days of a range; 0 for null.
