필드 · Recent

필드 · Recent · date.recent. 생성 메서드 · 예시

date.recent

생성 설정

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

매개변수 & 예시

Generates a random date in the recent past.

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

예시

"2025-12-31T16:01:56.723Z"

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

관련 생성기

시나리오 탐색