Using the Date Object

There are many built-in objects in JavaScript, among the most commonly used are Document object, Date object, Text object , Form object , String object, Password object,Location object, Link object , Math object and more.

The date object is used to manipulate and display date and time. The Methods associated with the date object are getDate, getDay, getHours, getMinutes, getSeconds, getYear and more. Each of these methods returns the current time value associated with the method name. For example, getDate will return the current while get minutes will return the current minutes

Read more…….