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

## dateTime variable

### dateTime variable

<b>Signature</b>

```typescript
dateTime: (input?: string | number | DateTime | Date | (string | number)[] | undefined, formatInput?: FormatInput) => DateTime
```
<b>Import</b>

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