var currTimestamp = new Date.getTime(); var targetTimestamp = currTimestamp + 8 * 3600 * 1000; var targetDateTime = new Date(targetTimestamp);
var currTimestamp = new Date.getTime(); var targetTimestamp = currTimestamp + 8 * 3600 * 1000; var targetDateTime = new Date(targetTimestamp);