# Period.hours

Returns the number of seconds in `n` hours.

## Imports

:::code-group
```ts [Named]
import { Period } from 'ox/tempo'
```

```ts [Entrypoint]
import * as Period from 'ox/tempo/Period'
```
:::

## Examples

```ts twoslash
import { Period } from 'ox/tempo'

const seconds = Period.hours(2) // 7200
```

## Definition

```ts
function hours(
  n: number,
): number
```

**Source:** [src/tempo/Period.ts](https://github.com/wevm/ox/blob/main/src/tempo/Period.ts#L98)

## Parameters

### n

* **Type:** `number`

## Return Type

`number`
