+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "convertRawToRange"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## rangeUtil.convertRawToRange variable

### rangeUtil.convertRawToRange variable

<b>Signature</b>

```typescript
convertRawToRange: (raw: RawTimeRange, timeZone?: string | undefined) => TimeRange
```
<b>Import</b>

```typescript
import { rangeUtil } from '@grafana/data';
const { convertRawToRange } = rangeUtil;
```
