I got a code like this:
var date = new Date(new Date() + dateAdjust*3600*1000 );
However, the result came out weird. But if I change the plus sign to a minus sign, and make the dateAdjust become negative, it results right. I think it considers dateAdjust36001000 as a string. How do I fix that? I heard some people say to use parseInt(), but it doesn't work either.
var date = new Date(new Date() + parseInt(dateAdjust*3600*1000) );