summaryrefslogtreecommitdiff
path: root/src/node_modules/chance/docs/time/month.md
blob: 83bffd54c89521809c27f74d24e0e53b3caabf22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# month

```js
// usage
chance.month()
```

Generate a random month.

```js
chance.month();
=> 'January'
```

By default, returns just the full name.

Optionally specify raw to get the whole month object consisting of name,
short_name, and numeric.

```js
chance.month({raw: true});
=> {name: 'October', short_name: 'Oct', numeric: '10'}
```