필드 · Future

필드 · Future · date.future. 생성 메서드 · 예시

date.future

생성 설정

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

매개변수 & 예시

Generates a random date in the future.

date.future(options?: { years?, refDate? })
options
The optional options object.
options.years
The range of years the date may be in the future. Either as a fixed amount of years or as a year range. Defaults to 1.
options.refDate
The date to use as reference point for the newly generated date. Defaults to the configured reference date.

예시

"2026-09-01T19:54:08.155Z"

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

관련 생성기

시나리오 탐색