This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datadateTimeAsMoment

dateTimeAsMoment variable

dateTimeAsMoment variable

Signature

dateTimeAsMoment: (input?: DateTimeInput | undefined) => moment.Moment

Import

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