Campo · Anytime
Campo · Anytime · date.anytime. Metodo di generazione · Esempio
date.anytime
Impostazioni
Genera dati per vedere i risultati.
Parametri & Esempio
Generates a random date that can be either in the past or in the future.
date.anytime(options?: { refDate? })- options
- The optional options object.
- options.refDate
- The date to use as reference point for the newly generated date. Defaults to the configured reference date.
Esempio
"2026-05-03T15:48:15.646Z"Usa dati sintetici nell’ambiente di test.