Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Dates
Using new Date()
new Date() without arguments, creates a date object with the current date and time: