Answer by
senthilkumar (299)
To add date in javascript you have to use setdata() and getdata(). to create a date
//create a date
var myDate=new Date();
these semicolon is so necessary to complete this process,without that semicolon
the process can't accepted. You can create date,day,year,also using this method.