How to get Current date in Javascript?

 Posted by vishalneeraj-24503 on 12/19/2013 | Category: JavaScript Interview questions | Views: 2255 | Points: 40

With the help of getDate() function of Date() Object,we can get current Date.

function get_current_date() 

var date = new Date();

It will show current date.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response