Date() constructor - JavaScript | MDN

Date() constructor

The Date() constructor creates Date objects. When called as a function, it returns a string representing the current time.

Printed 2026-06-28.

(echo:: @ )