+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DateTimeFormatter"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## DateTimeFormatter type
### DateTimeFormatter type
Signature
```typescript
export declare type DateTimeFormatter = (dateInUtc: DateTimeInput, options?: T) => string;
```
Import
```typescript
import { DateTimeFormatter } from '@grafana/data';
```