# toDateOnly(epoch)

Converts an epoch to a `DateOnly` type.

```nolang
q = foreach q generate toDateOnly(epoch) as "DateTime";
```
