showing results for - "how to subtract time in javascript"
Niclas
17 Jul 2018
1var d = new Date();
2
3d.setHours(d.getHours() - 2);
4