# Period.months

Returns the number of seconds in `n` months (30 days).

## 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.months(1) // 2592000
```

## Definition

```ts
function months(
  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`
