mirror of https://github.com/grafana/grafana.git
822 B
822 B
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "dateTimeFormat" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++
dateTimeFormat variable
dateTimeFormat variable
Helper function to format date and time according to the specified options. If no options are supplied, then default values are used. For more details, see DateTimeOptionsWithFormat.
Signature
dateTimeFormat: DateTimeFormatter<DateTimeOptionsWithFormat>
Import
import { dateTimeFormat } from '@grafana/data';