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

## getTimeField variable

### getTimeField variable

<b>Signature</b>

```typescript
getTimeField: (series: DataFrame) => {
    timeField?: Field<any, import("../types").Vector<any>> | undefined;
    timeIndex?: number | undefined;
}
```
<b>Import</b>

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