+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "graphTimeFormatter"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## graphTimeFormatter variable
### graphTimeFormatter variable
Signature
```typescript
graphTimeFormatter: (timeZone?: string | undefined) => (epoch: number, format: string) => string
```
Import
```typescript
import { graphTimeFormatter } from '@grafana/ui';
```