필드 · Month

필드 · Month · date.month. 생성 메서드 · 예시

date.month

생성 설정

데이터를 생성하면 결과가 표시됩니다.

매개변수 & 예시

Returns a random name of a month.

date.month(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 name of a month 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 'январь' with { context: false } and 'января' with { context: true } in ru. Defaults to false.

예시

"May"

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색