grafana/docs/sources/packages_api/data/datetimeformatiso.md

842 B

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "dateTimeFormatISO" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++

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.

Signature

dateTimeFormatISO: DateTimeFormatter

Import

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