<!-- Generated by scripts/gen-docs.mts from the JSDoc in registry/. Do not edit; run `pnpm run docs`. -->

# formatDuration

Seconds as a clock reads them: `9:05`, or `1:02:03` from an hour up.

```tsx
import { formatDuration } from "@/lib/ouro/use-timer";
```

## Example

```tsx
formatDuration(545); // "9:05"
```

## Parameters

| Parameter | Type |
| --- | --- |
| `seconds` | `number` |

## Returns

`string`
