I\'m trying to compare some Dates in javascript.
For some reason, I\'m getting \"Tue May 01 2012 16:43:03 GMT+0900 (JST) has no method \'getTime\'\"
Of cours
Try using new keyword to instantiate a new object so instead of this
new
var now = Date();
try this
var now = new Date();