JSFiddle - React, Tailwind, and code Playground

by jdb1991

JavaScript

var date = new Date();
date.setTime(date.getTime()+(hours*60*60*1000));
document.write(date.toGMTString());