javascript date object :Error while using addDays function

Posted by Shyju on Stack Overflow See other posts from Stack Overflow or by Shyju
Published on 2009-10-26T11:27:50Z Indexed on 2010/04/09 21:03 UTC
Read the original article Hit count: 200

Filed under:
|
|

I was trying to execute the below code in my javascript and got some exception

 var now3 = new Date();
 now3.addDays(-4);

Error throwed is Microsoft JScript runtime error: Object doesn't support this property or method

I m using jQuery 1.3.2 in my page .

Whats wrong with this? Please help

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about date