Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Enterprise
Open source
DateTimeDuration interface
Signature
typescript
export interface DateTimeDuration Import
typescript
import { DateTimeDuration } from '@grafana/data';Properties
asHours property
Signature
typescript
asHours: () => number;asSeconds property
Signature
typescript
asSeconds: () => number;hours property
Signature
typescript
hours: () => number;minutes property
Signature
typescript
minutes: () => number;seconds property
Signature
typescript
seconds: () => number;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more