JavaScript Dates

Using new Date()

new Date() without arguments, creates a date object with the current date and time: