. Advertisement .
..3..
. Advertisement .
..4..
I want to get 1 hour from now in javascript? Can you give me some examples?
Here is a case study for you<html>
<head>
<title>JavaScript setHours Method</title>
</head>
<body>
<script>
var dt = new Date();
dt.setHours( dt.getHours() + 2 );
document.write( dt );
</script>
</body>
</html>
1 Answer