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