Campo · Future

Campo · Future · date.future. Metodo di generazione · Esempio

date.future

Impostazioni

Genera dati per vedere i risultati.

Parametri & Esempio

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.

Esempio

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

Usa dati sintetici nell’ambiente di test.

Generatori correlati

Esplora gli scenari