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

API Reference@grafana/datatoUtc

toUtc variable

toUtc variable

Signature

toUtc: (input?: DateTimeInput | undefined, formatInput?: FormatInput) => DateTime

Import

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