Trường · Betweens
Trường · Betweens · date.betweens. Phương thức tạo · Ví dụ
date.betweens
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Generates random dates between the given boundaries. The dates will be returned in an array sorted in chronological order.
date.betweens(options: { from, to, count? })- options
- The options object.
- options.from
- The early date boundary.
- options.to
- The late date boundary.
- options.count
- The number of dates to generate. Defaults to 3.
Ví dụ
["2025-02-19T14:54:55.269Z","2025-08-13T22:49:39.915Z","2025-09-01T03:52:10.432Z"]Dùng dữ liệu tổng hợp trong môi trường kiểm thử.