DEV Community


Posted on

Date Function in Javascript

Using the Date function without the 'new' keyword will give you a string showing the current date and time. but it does not have all the features of a complete Date object. using it with the 'new' keyword. The Date object instance is created with all functionalities.

Image description

Top comments (0)