+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "DateTimeDuration"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++

## DateTimeDuration interface

<b>Signature</b>

```typescript
export interface DateTimeDuration 
```
<b>Import</b>

```typescript
import { DateTimeDuration } from '@grafana/data';
```
<b>Properties</b>

|  Property | Type | Description |
|  --- | --- | --- |
|  [asHours](#ashours-property) | <code>() =&gt; number</code> |  |
|  [asSeconds](#asseconds-property) | <code>() =&gt; number</code> |  |
|  [hours](#hours-property) | <code>() =&gt; number</code> |  |
|  [minutes](#minutes-property) | <code>() =&gt; number</code> |  |
|  [seconds](#seconds-property) | <code>() =&gt; number</code> |  |

### asHours property

<b>Signature</b>

```typescript
asHours: () => number;
```

### asSeconds property

<b>Signature</b>

```typescript
asSeconds: () => number;
```

### hours property

<b>Signature</b>

```typescript
hours: () => number;
```

### minutes property

<b>Signature</b>

```typescript
minutes: () => number;
```

### seconds property

<b>Signature</b>

```typescript
seconds: () => number;
```
