JavaScript Date functions enable you to get the Date parts separately. You can easily retrieve the day, month and year from the Date value specified to the Date Object. By Default JavaScript Date Object and its Date functions return the different parts of the current Date of client computer on which web page is bieng accessed.
JavaScript Date Functions
1. getDate()
2. getDay()
3. getMonth()
4. getFullYear()