SyntaxFix
Write A Post
Hire A Developer
Questions
Subtract from another date object
var d = new Date(); d.setHours(d.getHours() - 2);