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

  1. dateTimeFormat: DateTimeFormatter<DateTimeOptionsWithFormat>

Import

  1. import { dateTimeFormat } from '@grafana/data';