Future生成器

Future生成器 · date.future. 生成方法 · 示例

date.future

生成设置

生成后在这里查看结果。

参数 & 示例

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.

示例

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

请在测试环境使用合成数据。

相关生成器

探索场景模板