Date Function in Javascript

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.

Leave a Reply

Your email address will not be published. Required fields are marked *