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

## dateTimeAsMoment variable

### dateTimeAsMoment variable

<b>Signature</b>

```typescript
dateTimeAsMoment: (input?: string | number | DateTime | Date | (string | number)[] | undefined) => moment.Moment
```
<b>Import</b>

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