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

## getTimeField variable

### getTimeField variable

<b>Signature</b>

```typescript
getTimeField: (series: DataFrame) => {
    timeField?: Field;
    timeIndex?: number;
}
```
<b>Import</b>

```typescript
import { getTimeField } from '@grafana/data';
```
