

# DateInterval

<div class="api-docs__separator" data-reactroot="">

---

</div><div class="api-docs__import" data-reactroot="">

```ts
import { DateInterval } from "@hyper-fetch/core"
```

</div><div class="api-docs__section">

## Description

</div><div class="api-docs__description"><span class="api-docs__do-not-parse">



</span></div><p class="api-docs__definition">

Defined in [constants/time.constants.ts:1](https://github.com/BetterTyped/hyper-fetch/blob/c44d728f/packages/core/src/constants/time.constants.ts#L1)

</p><div class="api-docs__section">

## Preview

</div><div class="api-docs__preview enum">

```ts
enum DateInterval {
  day = 86400000; 
  hour = 3600000; 
  minute = 60000; 
  month30 = 2592000000; 
  month31 = 2678400000; 
  second = 1000; 
  week = 604800000; 
  year = 31536000000; 
  yearLeap = 31622400000; 
}
```

</div>