フィールド · Weekday

フィールド · Weekday · date.weekday. 生成メソッド · 例

date.weekday

生成設定

生成したデータはここに表示されます。

パラメーター & 例

Returns a random day of the week.

date.weekday(options?: { abbreviated?, context? })
options
The optional options to use.
options.abbreviated
Whether to return an abbreviation. Defaults to false.
options.context
Whether to return the day of the week in the context of a date. In the default en locale this has no effect, however, in other locales like fr or ru, this may affect grammar or capitalization, for example 'Lundi' with { context: false } and 'lundi' with { context: true } in fr. Defaults to false.

例

"Thursday"

テスト環境で合成データを使用してください。

関連ジェネレーター

シナリオを見る