# dayOf

function in `@dioramajs/data/heatmap`

```ts
import { dayOf } from '@dioramajs/data/heatmap'
```

Days since 1970-01-01 of a date in a cell: `<time datetime>`, `data-dio-date` or the text.

```ts
function dayOf(cell: Element): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `cell` | `Element` |  |

Defined in [packages/data/src/heatmap.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/data/src/heatmap.ts#L112).
