# months

> Documentation index: http://docs.tenzir.com/llms.txt

Converts a number to equivalent months.

```tql
months(x:number) -> duration
```

## Description

This function returns months equivalent to a number, i.e., `number * 1/12 * 1y`.

### `x: number`

The number to convert.

## See Also

[`years`](http://docs.tenzir.com/reference/functions/years.md), [`months`](http://docs.tenzir.com/reference/functions/months.md), [`weeks`](http://docs.tenzir.com/reference/functions/weeks.md), [`days`](http://docs.tenzir.com/reference/functions/days.md), [`hours`](http://docs.tenzir.com/reference/functions/hours.md), [`minutes`](http://docs.tenzir.com/reference/functions/minutes.md), [`seconds`](http://docs.tenzir.com/reference/functions/seconds.md), [`milliseconds`](http://docs.tenzir.com/reference/functions/milliseconds.md), [`microseconds`](http://docs.tenzir.com/reference/functions/microseconds.md), [`nanoseconds`](http://docs.tenzir.com/reference/functions/nanoseconds.md)