Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: specific time


Message #1 by "Shahzad Khan" <shahzad@i...> on Sat, 9 Jun 2001 13:31:09 +0500
If you're working with a date object:

dateObj.setHours(dateObj.getHours+10);

-----Original Message-----
From: Shahzad Khan [mailto:shahzad@i...]
Sent: 12 June 2001 07:18
To: javascript
Subject: [javascript] RE: specific time


Hi all

How can I add hours in my current time...
I want to add 10 or 11 hrs. in javascipt and
that will show me the modified time.... can anybody help me.

thanx in advance.

  Return to Index