# month {#month}

## Syntax {#syntax}

`month(X)`

## Arguments {#arguments}

**X** is a temporal scalar/vector.

## Details {#details}

Return the corresponding month\(s\).

## Examples {#examples}

```
month(2012.12.03);
// output: 2012.12M
```

Related functions: [second](../s/second.md), [minute](minute.md), [hour](../h/hour.md), [date](../d/date.md), [year](../y/year.md).

