# DAYS

### Description

`DAYS` takes two dates, from either an information or in [ISO8601 format](https://docs.atfinity.io/rule-language/operators/date-operators), and returns the difference between them in days.

If you are looking for the difference in weekdays, use the [`WEEKDAYS`](https://docs.atfinity.io/rule-language/operators/date-operators/days-1) operator.

### Example

```
DAYS('2022-01-01', '2022-01-11')
```

This returns `10`, as the difference between 1st January 2022 and 11th January 2022 is ten days.

This operator can also be used in combination with other operators like [`TODAY`](https://docs.atfinity.io/rule-language/operators/date-operators/today) or [`NOW`](https://docs.atfinity.io/rule-language/operators/date-operators/now).

```
DAYS('2022-01-01', TODAY())
```
