+++
# -----------------------------------------------------------------------
# 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
Signature
```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';
```
Import
```typescript
import { DurationUnit } from '@grafana/data';
```