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

## DurationUnit type

### DurationUnit type

<b>Signature</b>

```typescript
export declare type DurationUnit = 'year' | 'years' | 'y' | 'month' | 'months' | 'M' | 'week' | 'weeks' | 'w' | 'day' | 'days' | 'd' | 'hour' | 'hours' | 'h' | 'minute' | 'minutes' | 'm' | 'second' | 'seconds' | 's' | 'millisecond' | 'milliseconds' | 'ms' | 'quarter' | 'quarters' | 'Q';
```
<b>Import</b>

```typescript
import { DurationUnit } from '@grafana/data';
```
