Skip to Content
🎲 RandBox へようこそ - 強力な JavaScript ランダムデータ生成ライブラリ! 詳細を見る

month

// 用法 randBox.month()

生成一个随机月份。

randBox.month(); => 'January'

默认情况下,只返回完整名称。

可选择指定 raw 来获取包含 name、short_name 和 numeric 的完整月份对象。

randBox.month({raw: true}); => {name: 'October', short_name: 'Oct', numeric: '10'}
最終更新日: