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

API Reference@grafana/datadateTimeFormatISO

dateTimeFormatISO variable

dateTimeFormatISO variable

Helper function to format date and time according to the standard ISO format e.g. 2013-02-04T22:44:30.652Z. If no options are supplied, then default values are used. For more details, see DateTimeOptionsWithFormat.


dateTimeFormatISO: DateTimeFormatter


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