JSFiddle - React, Tailwind, and code Playground
by Nibin George
JavaScript
var d = new Date();
var hours = 12;
d.setHours(d.getHours() - hours);
alert(d);
by Nibin George
var d = new Date();
var hours = 12;
d.setHours(d.getHours() - hours);
alert(d);