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

## TimeFragment type

### TimeFragment type

<b>Signature</b>

```typescript
export declare type TimeFragment = string | DateTime;
```
<b>Import</b>

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