フィールド · Past
フィールド · Past · date.past. 生成メソッド · 例
date.past
生成設定
生成したデータはここに表示されます。
パラメーター & 例
Generates a random date in the past.
date.past(options?: { years?, refDate? })- options
- The optional options object.
- options.years
- The range of years the date may be in the past. 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.
例
"2025-09-01T19:54:07.155Z"テスト環境で合成データを使用してください。