Anytime生成器

Anytime生成器 · date.anytime. 生成方法 · 示例

date.anytime

生成设置

生成后在这里查看结果。

参数 & 示例

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.

示例

"2026-05-03T15:48:15.646Z"

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

相关生成器

探索场景模板