+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "TimeRange"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## TimeRange interface
Signature
```typescript
export interface TimeRange
```
Import
```typescript
import { TimeRange } from '@grafana/data';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [from](#from-property) | DateTime
| |
| [raw](#raw-property) | RawTimeRange
| |
| [to](#to-property) | DateTime
| |
### from property
Signature
```typescript
from: DateTime;
```
### raw property
Signature
```typescript
raw: RawTimeRange;
```
### to property
Signature
```typescript
to: DateTime;
```