+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DateTimeDuration"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## DateTimeDuration interface
Signature
```typescript
export interface DateTimeDuration
```
Import
```typescript
import { DateTimeDuration } from '@grafana/data';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [asHours](#ashours-property) | () => number
| |
| [asSeconds](#asseconds-property) | () => number
| |
| [hours](#hours-property) | () => number
| |
| [minutes](#minutes-property) | () => number
| |
| [seconds](#seconds-property) | () => number
| |
### 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;
```