Feld · Soon
Feld · Soon · date.soon. Generatormethode · Beispiel
date.soon
Generatoreinstellungen
Erzeuge Daten, um Ergebnisse zu sehen.
Parameter & Beispiel
Generates a random date in the near future.
date.soon(options?: { days?, refDate? })- options
- The optional options object.
- options.days
- The range of days the date may be in the future. 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.
Beispiel
"2026-01-01T16:01:57.723Z"Verwende synthetische Daten in der Testumgebung.