Trường · Birth date

Trường · Birth date · date.birthdate. Phương thức tạo · Ví dụ

date.birthdate

Cài đặt trình tạo

Tạo dữ liệu để xem kết quả ở đây.

Tham số & Ví dụ

Returns a random birthdate. By default, the birthdate is generated for an adult between 18 and 80 years old. But you can customize the 'age' range or the 'year' range to generate a more specific birthdate.

date.birthdate(options?: { refDate? })
options
The options to use to generate the birthdate.
options.refDate
The date to use as reference point for the newly generated date. Defaults to the configured reference date.

Ví dụ

"1987-02-01T14:17:36.314Z"

Dùng dữ liệu tổng hợp trong môi trường kiểm thử.

Trình tạo liên quan

Khám phá kịch bản