Forum : date function is not working
Brief description  about Online courses   join in Online courses
View sriaruna  chandrasekaran 's Profile

date function is not working

can u say how to use date function.give some eg.. plz
Asked by sriaruna chandrasekaran | May 31, 2010 |  Reply now
Replies (2)
View sriaruna chandrasekaran 's Profile
thank u!
May 31, 2010
View teacher siliconindia 's Profile
Hi sriaruna,

var myDate=new Date(); // create date object
var a = myDate.setFullYear(2010,0,14); // use that object to retrieve different date informations
May 31, 2010