Trường · Anytime
Trường · Anytime · date.anytime. Phương thức tạo · Ví dụ
date.anytime
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
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.
Ví dụ
"2026-05-03T15:48:15.646Z"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.